Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007902/0.0007902, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8602/0.8602, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.62/1.62, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.038e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005418/0.005438, allocations: 6.474 MB / 0.9568 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003592/0.00903, allocations: 3.024 MB / 0.9598 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/0.009485, allocations: 43.62 kB / 0.9598 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.01083, allocations: 0.9468 MB / 0.9607 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009467/0.01178, allocations: 0.5434 MB / 0.9613 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007897/0.01257, allocations: 446 kB / 0.9617 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.01365, allocations: 1.271 MB / 0.9629 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007135/0.01437, allocations: 0.5334 MB / 0.9635 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007388/0.0151, allocations: 0.6663 MB / 0.9641 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.0156, allocations: 482.6 kB / 0.9646 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7e-05/0.01567, allocations: 68 kB / 0.9646 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/0.01615, allocations: 351 kB / 0.965 GB, free: 4.609 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.01642, allocations: 335 kB / 0.9653 GB, free: 4.281 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.01664, allocations: 315.2 kB / 0.9656 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009896/0.01763, allocations: 1.242 MB / 0.9668 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.01764, allocations: 0 / 0.9668 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01764, allocations: 4 kB / 0.9668 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.01766, allocations: 4 kB / 0.9668 GB, free: 2.715 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001333/0.01899, allocations: 1.104 MB / 0.9679 GB, free: 1.574 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.01903, allocations: 12.03 kB / 0.9679 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.01913, allocations: 118.7 kB / 0.968 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008265/0.01996, allocations: 248 kB / 0.9682 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.02061, allocations: 0.543 MB / 0.9688 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.02064, allocations: 45.67 kB / 0.9688 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.02071, allocations: 64.36 kB / 0.9689 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.02178, allocations: 1.329 MB / 0.9702 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.0218, allocations: 16.11 kB / 0.9702 GB, free: 15 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.041e-05/0.02185, allocations: 40.11 kB / 0.9702 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.87e-05/0.02195, allocations: 77.27 kB / 0.9703 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007604/0.02271, allocations: 0.7543 MB / 0.971 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003072/0.02578, allocations: 4.62 MB / 0.9756 GB, free: 9.348 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.02643, allocations: 0.5117 MB / 0.9761 GB, free: 8.828 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.0267, allocations: 286.2 kB / 0.9763 GB, free: 8.547 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.02672, allocations: 8.5 kB / 0.9763 GB, free: 8.535 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.02675, allocations: 39.06 kB / 0.9764 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 3.917e-06/0.02675, allocations: 3.984 kB / 0.9764 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of matching and sorting (n=48): time 0.002276/0.02903, allocations: 1.689 MB / 0.978 GB, free: 6.777 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.02906, allocations: 59.84 kB / 0.9781 GB, free: 6.707 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.02948, allocations: 0.5742 MB / 0.9786 GB, free: 6.125 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.0295, allocations: 33.7 kB / 0.9787 GB, free: 6.086 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.02975, allocations: 428.1 kB / 0.9791 GB, free: 5.664 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/0.02984, allocations: 178.4 kB / 0.9793 GB, free: 5.488 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.02996, allocations: 126.6 kB / 0.9794 GB, free: 5.359 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.03007, allocations: 374.8 kB / 0.9797 GB, free: 4.984 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.03033, allocations: 281.8 kB / 0.98 GB, free: 4.707 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.03067, allocations: 496.9 kB / 0.9805 GB, free: 4.129 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006602/0.03133, allocations: 0.8125 MB / 0.9813 GB, free: 3.223 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.03133, allocations: 0 / 0.9813 GB, free: 3.223 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001094/0.03242, allocations: 1.074 MB / 0.9823 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.03245, allocations: 15.92 kB / 0.9823 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.03246, allocations: 8 kB / 0.9823 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004958/0.03295, allocations: 279.4 kB / 0.9826 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.0332, allocations: 127.8 kB / 0.9827 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.0372, allocations: 6.665 MB / 0.9892 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.03756, allocations: 39.97 kB / 0.9893 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.03759, allocations: 31.98 kB / 0.9893 GB, free: 10.49 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.03786, allocations: 249.7 kB / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.03793, allocations: 79.52 kB / 0.9896 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009295/0.03886, allocations: 0.8824 MB / 0.9905 GB, free: 9.254 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.03886, allocations: 8 kB / 0.9905 GB, free: 9.246 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.03887, allocations: 3.938 kB / 0.9905 GB, free: 9.242 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.03887, allocations: 4 kB / 0.9905 GB, free: 9.238 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.04043, allocations: 1.618 MB / 0.9921 GB, free: 7.539 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.04043, allocations: 4 kB / 0.9921 GB, free: 7.535 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.04057, allocations: 60.08 kB / 0.9921 GB, free: 7.477 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004088/0.04097, allocations: 267.3 kB / 0.9924 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.04099, allocations: 11.94 kB / 0.9924 GB, free: 7.191 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003615/0.04461, allocations: 6.671 MB / 0.9989 GB, free: 64 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.04461, allocations: 0 / 0.9989 GB, free: 64 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.04563, allocations: 0.9737 MB / 0.9999 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.04582, allocations: 119.5 kB / 1 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.04586, allocations: 8 kB / 1 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.04605, allocations: 35.95 kB / 1 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.04614, allocations: 51.86 kB / 1 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.04616, allocations: 12 kB / 1 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002819/0.04644, allocations: 391.1 kB / 1 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.04644, allocations: 0 / 1 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005495/0.04699, allocations: 224 kB / 1.001 GB, free: 14.23 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/0.04806, allocations: 1.525 MB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.04926, allocations: 1.244 MB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.04926, allocations: 4.125 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006504/0.04991, allocations: 0.8738 MB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.05055, allocations: 221.1 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.05621, allocations: 6.383 MB / 1.011 GB, free: 3.48 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.0565, allocations: 428.9 kB / 1.011 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002808/0.05678, allocations: 114 kB / 1.011 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.057, allocations: 256.4 kB / 1.011 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of SimCode: time 7.42e-07/0.057, allocations: 0 / 1.011 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.09456, allocations: 19.46 MB / 1.03 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.122, allocations: 0 / 1.03 GB, free: 15.66 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.948268191888928]