Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001274/0.001274, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001431/0.001431, allocations: 218.7 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.142/3.142, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.94 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3739, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03932/0.4132, allocations: 32.17 MB / 1.377 GB, free: 144 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02318/0.4364, allocations: 14.01 MB / 1.39 GB, free: 2.094 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003561/0.44, allocations: 190.5 kB / 1.391 GB, free: 1.906 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009605/0.4496, allocations: 3.34 MB / 1.394 GB, free: 14.56 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009339/0.4589, allocations: 2.774 MB / 1.397 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006801/0.4657, allocations: 2.078 MB / 1.399 GB, free: 9.691 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01169/0.4774, allocations: 7.626 MB / 1.406 GB, free: 2.039 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007343/0.4848, allocations: 4.65 MB / 1.411 GB, free: 13.27 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006189/0.4909, allocations: 3.513 MB / 1.414 GB, free: 9.742 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006549/0.4975, allocations: 3.574 MB / 1.418 GB, free: 6.156 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.4995, allocations: 0.5938 MB / 1.418 GB, free: 5.562 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00433/0.5039, allocations: 1.517 MB / 1.42 GB, free: 4.043 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003844/0.5077, allocations: 2.42 MB / 1.422 GB, free: 1.617 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006368/0.5141, allocations: 2.89 MB / 1.425 GB, free: 14.71 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.5276, allocations: 9.488 MB / 1.434 GB, free: 5.195 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5276, allocations: 0 / 1.434 GB, free: 5.195 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5276, allocations: 0 / 1.434 GB, free: 5.195 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.000282/0.5279, allocations: 0 / 1.434 GB, free: 5.195 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01452/0.5424, allocations: 5.187 MB / 1.439 GB, free: 15.94 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.5425, allocations: 8.031 kB / 1.439 GB, free: 15.93 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001499/0.5427, allocations: 112.7 kB / 1.439 GB, free: 15.82 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001588/0.5442, allocations: 0.6202 MB / 1.44 GB, free: 15.19 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006165/0.5504, allocations: 1.024 MB / 1.441 GB, free: 14.16 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007524/0.5579, allocations: 3.025 MB / 1.444 GB, free: 11.04 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.5583, allocations: 316.6 kB / 1.444 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/0.5596, allocations: 419.9 kB / 1.444 GB, free: 10.32 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.5727, allocations: 6.795 MB / 1.451 GB, free: 3.234 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.5729, allocations: 23.78 kB / 1.451 GB, free: 3.211 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005085/0.5734, allocations: 184 kB / 1.451 GB, free: 3.031 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000893/0.5743, allocations: 372 kB / 1.452 GB, free: 2.664 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.5848, allocations: 5.114 MB / 1.457 GB, free: 13.53 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03871/0.6235, allocations: 30.27 MB / 1.486 GB, free: 12.5 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.6255, allocations: 1.313 MB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.6273, allocations: 1.242 MB / 1.489 GB, free: 9.93 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.891e-05/0.6273, allocations: 17.3 kB / 1.489 GB, free: 9.91 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.6274, allocations: 55.88 kB / 1.489 GB, free: 9.848 MB / 1.186 GB Notification: Performance of pre-optimization done (n=130): time 4.428e-06/0.6274, allocations: 3.984 kB / 1.489 GB, free: 9.844 MB / 1.186 GB Notification: Performance of matching and sorting (n=199): time 0.08795/0.7153, allocations: 22.84 MB / 1.511 GB, free: 2.938 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.7155, allocations: 73.34 kB / 1.511 GB, free: 2.855 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/0.7187, allocations: 2.059 MB / 1.513 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003793/0.7191, allocations: 61.7 kB / 1.513 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001675/0.7208, allocations: 2.067 MB / 1.515 GB, free: 14.62 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008223/0.7216, allocations: 0.7087 MB / 1.516 GB, free: 13.91 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000792/0.7224, allocations: 412.4 kB / 1.516 GB, free: 13.5 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7225, allocations: 312.9 kB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.7247, allocations: 1.43 MB / 1.518 GB, free: 11.76 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002608/0.7273, allocations: 2.01 MB / 1.52 GB, free: 9.496 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005009/0.7323, allocations: 3.692 MB / 1.524 GB, free: 5.566 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.7323, allocations: 4 kB / 1.524 GB, free: 5.562 MB / 1.217 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01135/0.7437, allocations: 5.6 MB / 1.529 GB, free: 15.89 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.7437, allocations: 12 kB / 1.529 GB, free: 15.88 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.7437, allocations: 20 kB / 1.529 GB, free: 15.86 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006782/0.7505, allocations: 2.083 MB / 1.531 GB, free: 13.72 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.7522, allocations: 375.4 kB / 1.531 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04232/0.7945, allocations: 36.62 MB / 1.567 GB, free: 6.664 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/0.7976, allocations: 123.9 kB / 1.567 GB, free: 6.543 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/0.798, allocations: 92 kB / 1.567 GB, free: 6.453 MB / 1.264 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003335/0.8013, allocations: 1.512 MB / 1.569 GB, free: 4.93 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007012/0.802, allocations: 306.1 kB / 1.569 GB, free: 4.629 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.8127, allocations: 5.133 MB / 1.574 GB, free: 15.42 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.8127, allocations: 20 kB / 1.574 GB, free: 15.4 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.044e-05/0.8127, allocations: 16 kB / 1.574 GB, free: 15.38 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.8128, allocations: 15.95 kB / 1.574 GB, free: 15.37 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/0.8312, allocations: 9.578 MB / 1.584 GB, free: 5.59 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.8312, allocations: 8 kB / 1.584 GB, free: 5.582 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008942/0.8321, allocations: 211.6 kB / 1.584 GB, free: 5.375 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006002/0.8381, allocations: 1.85 MB / 1.586 GB, free: 3.469 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002699/0.8384, allocations: 36 kB / 1.586 GB, free: 3.434 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7616/1.6, allocations: 35.62 MB / 1.62 GB, free: 224.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.511e-05/1.6, allocations: 11.94 kB / 1.62 GB, free: 224.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009999/1.61, allocations: 4.866 MB / 1.625 GB, free: 223.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/1.612, allocations: 0.549 MB / 1.626 GB, free: 223.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/1.613, allocations: 44.08 kB / 1.626 GB, free: 223.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.614, allocations: 130.9 kB / 1.626 GB, free: 223.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008765/1.615, allocations: 199.7 kB / 1.626 GB, free: 223.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/1.615, allocations: 58.94 kB / 1.626 GB, free: 223.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002902/1.618, allocations: 1.375 MB / 1.628 GB, free: 222.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.618, allocations: 0 / 1.628 GB, free: 222.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004622/1.623, allocations: 1.049 MB / 1.629 GB, free: 222.5 MB / 1.295 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009192/1.632, allocations: 5.473 MB / 1.634 GB, free: 219.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009521/1.641, allocations: 6.011 MB / 1.64 GB, free: 216.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.641, allocations: 2.219 kB / 1.64 GB, free: 216.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006558/1.648, allocations: 4.286 MB / 1.644 GB, free: 213.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/1.653, allocations: 0.9951 MB / 1.645 GB, free: 213.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04998/1.703, allocations: 30.76 MB / 1.675 GB, free: 198.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002851/1.706, allocations: 3.121 MB / 1.678 GB, free: 197.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002013/1.708, allocations: 0.5214 MB / 1.679 GB, free: 196.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/1.709, allocations: 1.672 MB / 1.68 GB, free: 195.4 MB / 1.295 GB Notification: Performance of SimCode: time 9.31e-07/1.709, allocations: 0 / 1.68 GB, free: 195.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.16/1.869, allocations: 91 MB / 1.769 GB, free: 106.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.16/19.03, allocations: 8.047 kB / 1.769 GB, free: 106.1 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 26.869928383035585]