Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0007956/0.0007956, 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.000783/0.000783, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8587/0.8587, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.617/1.617, allocations: 359 MB / 0.6037 GB, free: 11.09 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.659e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01517/0.01519, allocations: 21.14 MB / 0.9712 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.006652/0.02184, allocations: 6.119 MB / 0.9771 GB, free: 8.117 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008132/0.02265, allocations: 123.1 kB / 0.9772 GB, free: 7.996 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.02454, allocations: 1.573 MB / 0.9788 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.02641, allocations: 1.772 MB / 0.9805 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.02807, allocations: 1.363 MB / 0.9818 GB, free: 3.277 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004037/0.03211, allocations: 6.036 MB / 0.9877 GB, free: 13.22 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002937/0.03504, allocations: 3.213 MB / 0.9909 GB, free: 9.926 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.03785, allocations: 3.43 MB / 0.9942 GB, free: 6.488 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.04024, allocations: 2.782 MB / 0.9969 GB, free: 3.699 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004872/0.04073, allocations: 456 kB / 0.9974 GB, free: 3.254 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.0419, allocations: 1.053 MB / 0.9984 GB, free: 2.199 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.04307, allocations: 2.186 MB / 1.001 GB, free: 8 kB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.04407, allocations: 1.509 MB / 1.002 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00402/0.04809, allocations: 7.429 MB / 1.009 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.0481, allocations: 3.984 kB / 1.009 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.996e-06/0.0481, allocations: 7.938 kB / 1.009 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.036e-05/0.04814, allocations: 0 / 1.009 GB, free: 7.035 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003921/0.05207, allocations: 3.791 MB / 1.013 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.05212, allocations: 12.03 kB / 1.013 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004175/0.05253, allocations: 0.5014 MB / 1.013 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.05537, allocations: 1.239 MB / 1.015 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.05772, allocations: 2.308 MB / 1.017 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.05789, allocations: 234.4 kB / 1.017 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.05822, allocations: 311.9 kB / 1.017 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005421/0.06364, allocations: 6.446 MB / 1.024 GB, free: 7.781 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/0.06369, allocations: 19.89 kB / 1.024 GB, free: 7.762 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/0.06398, allocations: 139.9 kB / 1.024 GB, free: 7.625 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002809/0.06426, allocations: 406.3 kB / 1.024 GB, free: 7.227 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/0.06861, allocations: 4.654 MB / 1.029 GB, free: 2.562 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3895/0.4581, allocations: 18.64 MB / 1.047 GB, free: 124 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.4595, allocations: 1.357 MB / 1.048 GB, free: 124 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.4608, allocations: 1.429 MB / 1.05 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.102e-05/0.4609, allocations: 12.59 kB / 1.05 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4609, allocations: 45.34 kB / 1.05 GB, free: 123.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.807e-06/0.4609, allocations: 0 / 1.05 GB, free: 123.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179): time 0.07367/0.5345, allocations: 37.07 MB / 1.086 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.5346, allocations: 71.52 kB / 1.086 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.5363, allocations: 1.45 MB / 1.088 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003331/0.5366, allocations: 55.7 kB / 1.088 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007858/0.5374, allocations: 1.576 MB / 1.089 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/0.5379, allocations: 0.6362 MB / 1.09 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005214/0.5385, allocations: 383.3 kB / 1.09 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.5385, allocations: 303 kB / 1.09 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/0.541, allocations: 1.789 MB / 1.092 GB, free: 115.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/0.5435, allocations: 2.347 MB / 1.094 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004651/0.5482, allocations: 4.391 MB / 1.099 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/0.5482, allocations: 14.02 kB / 1.099 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01273/0.5609, allocations: 8.425 MB / 1.107 GB, free: 109.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.5609, allocations: 13.47 kB / 1.107 GB, free: 109.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/0.561, allocations: 20.23 kB / 1.107 GB, free: 109.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008934/0.5699, allocations: 4.616 MB / 1.111 GB, free: 108.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008048/0.5707, allocations: 307.3 kB / 1.112 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02629/0.597, allocations: 31.58 MB / 1.143 GB, free: 83.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.5986, allocations: 151.8 kB / 1.143 GB, free: 83.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.5988, allocations: 80 kB / 1.143 GB, free: 83 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001874/0.6007, allocations: 1.332 MB / 1.144 GB, free: 81.65 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/0.6012, allocations: 210.7 kB / 1.144 GB, free: 81.45 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009538/0.6107, allocations: 8.292 MB / 1.152 GB, free: 73.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.6107, allocations: 20 kB / 1.152 GB, free: 73.09 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.604e-05/0.6108, allocations: 24 kB / 1.152 GB, free: 73.06 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-05/0.6108, allocations: 10.5 kB / 1.152 GB, free: 73.05 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.6254, allocations: 12.21 MB / 1.164 GB, free: 60.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.6254, allocations: 9.719 kB / 1.164 GB, free: 60.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.6258, allocations: 167.7 kB / 1.165 GB, free: 60.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007753/0.6336, allocations: 4.462 MB / 1.169 GB, free: 56.07 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002523/0.6338, allocations: 40 kB / 1.169 GB, free: 56.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02436/0.6582, allocations: 31.19 MB / 1.199 GB, free: 24.19 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.6582, allocations: 11.94 kB / 1.199 GB, free: 24.18 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009597/0.6678, allocations: 8.085 MB / 1.207 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.6691, allocations: 0.5531 MB / 1.208 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.6693, allocations: 36 kB / 1.208 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008547/0.6702, allocations: 147.7 kB / 1.208 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005892/0.6707, allocations: 184.7 kB / 1.208 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.743e-05/0.6708, allocations: 44 kB / 1.208 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008529/0.6717, allocations: 0.9665 MB / 1.209 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6717, allocations: 0 / 1.209 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003049/0.6747, allocations: 1.109 MB / 1.21 GB, free: 12.95 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009605/0.6843, allocations: 8.685 MB / 1.219 GB, free: 4.117 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00802/0.6924, allocations: 6.288 MB / 1.225 GB, free: 13.77 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.6924, allocations: 0 / 1.225 GB, free: 13.77 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005801/0.6982, allocations: 4.181 MB / 1.229 GB, free: 9.52 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.7001, allocations: 0.5286 MB / 1.23 GB, free: 9.023 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04535/0.7455, allocations: 33.58 MB / 1.262 GB, free: 6.527 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/0.7482, allocations: 2.166 MB / 1.264 GB, free: 4.32 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0008344/0.749, allocations: 388.5 kB / 1.265 GB, free: 3.938 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.7502, allocations: 1.219 MB / 1.266 GB, free: 2.719 MB / 1.042 GB Notification: Performance of SimCode: time 2.064e-06/0.7502, allocations: 0 / 1.266 GB, free: 2.719 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/0.8593, allocations: 90.01 MB / 1.354 GB, free: 9.477 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/9.203, allocations: 8 kB / 1.354 GB, free: 9.469 MB / 1.135 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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: 13.30531342420727]