Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001761/0.001761, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002294/0.002294, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.015/3.015, allocations: 0.5003 GB / 0.8026 GB, free: 6.711 MB / 0.6387 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.002034/0.002034, allocations: 59.91 kB / 1.165 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9544/0.9564, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007382/0.9638, allocations: 6.91 MB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004544/0.9683, allocations: 3.147 MB / 1.35 GB, free: 9.441 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000488/0.9688, allocations: 43.69 kB / 1.35 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.9711, allocations: 0.9556 MB / 1.351 GB, free: 8.844 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.9723, allocations: 0.5227 MB / 1.351 GB, free: 8.527 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.9734, allocations: 444.1 kB / 1.352 GB, free: 8.316 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.9747, allocations: 1.228 MB / 1.353 GB, free: 7.758 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007654/0.9755, allocations: 0.534 MB / 1.354 GB, free: 7.523 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000687/0.9762, allocations: 497.8 kB / 1.354 GB, free: 7.316 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.9768, allocations: 0.5484 MB / 1.355 GB, free: 7.094 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.977, allocations: 66.97 kB / 1.355 GB, free: 7.094 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007314/0.9777, allocations: 388.7 kB / 1.355 GB, free: 6.977 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.978, allocations: 318.9 kB / 1.355 GB, free: 6.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.9784, allocations: 451.6 kB / 1.356 GB, free: 6.578 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.9798, allocations: 1.225 MB / 1.357 GB, free: 6.148 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9798, allocations: 0 / 1.357 GB, free: 6.148 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9798, allocations: 0 / 1.357 GB, free: 6.148 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.9798, allocations: 1 kB / 1.357 GB, free: 6.148 MB / 1.061 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.001954/0.9818, allocations: 1.197 MB / 1.358 GB, free: 5.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.9818, allocations: 10.16 kB / 1.358 GB, free: 5.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.835e-05/0.9819, allocations: 18.44 kB / 1.358 GB, free: 5.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.982, allocations: 122.9 kB / 1.358 GB, free: 5.234 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.9837, allocations: 242.8 kB / 1.359 GB, free: 5.176 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.9847, allocations: 0.6162 MB / 1.359 GB, free: 4.777 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.9848, allocations: 51.52 kB / 1.359 GB, free: 4.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.9849, allocations: 62.56 kB / 1.359 GB, free: 4.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.9865, allocations: 1.089 MB / 1.36 GB, free: 4.109 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.9865, allocations: 3.297 kB / 1.36 GB, free: 4.109 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/0.9866, allocations: 36.86 kB / 1.36 GB, free: 4.082 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.9868, allocations: 84.2 kB / 1.36 GB, free: 4.074 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.988, allocations: 0.7539 MB / 1.361 GB, free: 3.801 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005071/0.993, allocations: 5.887 MB / 1.367 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.9941, allocations: 0.5065 MB / 1.367 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.9945, allocations: 291 kB / 1.368 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.9946, allocations: 5.188 kB / 1.368 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.9946, allocations: 39.98 kB / 1.368 GB, free: 14.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.374e-06/0.9946, allocations: 0 / 1.368 GB, free: 14.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.004351/0.999, allocations: 1.988 MB / 1.37 GB, free: 13.38 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.999, allocations: 57.81 kB / 1.37 GB, free: 13.31 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007577/0.9998, allocations: 0.5674 MB / 1.37 GB, free: 13.05 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.9998, allocations: 32.61 kB / 1.37 GB, free: 13.01 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/1, allocations: 427.4 kB / 1.371 GB, free: 12.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/1, allocations: 177 kB / 1.371 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/1.001, allocations: 128.3 kB / 1.371 GB, free: 12.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002082/1.001, allocations: 382.8 kB / 1.371 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/1.001, allocations: 271 kB / 1.372 GB, free: 12.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/1.002, allocations: 493.6 kB / 1.372 GB, free: 11.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/1.003, allocations: 0.8147 MB / 1.373 GB, free: 11.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.003, allocations: 1.438 kB / 1.373 GB, free: 11.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002089/1.005, allocations: 1.082 MB / 1.374 GB, free: 10.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.005, allocations: 8.75 kB / 1.374 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.005, allocations: 7.094 kB / 1.374 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009062/1.006, allocations: 274.5 kB / 1.374 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/1.007, allocations: 128.7 kB / 1.374 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007681/1.014, allocations: 7.147 MB / 1.381 GB, free: 4.301 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008563/1.015, allocations: 35.94 kB / 1.381 GB, free: 4.293 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/1.015, allocations: 32.05 kB / 1.381 GB, free: 4.285 MB / 1.076 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.0005432/1.016, allocations: 257.1 kB / 1.382 GB, free: 4.098 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/1.016, allocations: 73.17 kB / 1.382 GB, free: 4.062 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/1.018, allocations: 0.8829 MB / 1.383 GB, free: 3.668 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/1.018, allocations: 4.281 kB / 1.383 GB, free: 3.668 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.018, allocations: 3.812 kB / 1.383 GB, free: 3.668 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/1.018, allocations: 6.656 kB / 1.383 GB, free: 3.664 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/1.021, allocations: 1.721 MB / 1.384 GB, free: 2.789 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/1.021, allocations: 6.422 kB / 1.384 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/1.021, allocations: 60.23 kB / 1.384 GB, free: 2.781 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008845/1.022, allocations: 266.2 kB / 1.385 GB, free: 2.695 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/1.022, allocations: 11.66 kB / 1.385 GB, free: 2.688 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008366/1.031, allocations: 7.132 MB / 1.392 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.031, allocations: 2.188 kB / 1.392 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/1.033, allocations: 0.9819 MB / 1.392 GB, free: 11.92 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/1.033, allocations: 191.3 kB / 1.393 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/1.033, allocations: 16.08 kB / 1.393 GB, free: 11.76 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/1.033, allocations: 26.31 kB / 1.393 GB, free: 11.76 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.034, allocations: 41.19 kB / 1.393 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/1.034, allocations: 23.34 kB / 1.393 GB, free: 11.74 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000514/1.034, allocations: 389.6 kB / 1.393 GB, free: 11.56 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.034, allocations: 0 / 1.393 GB, free: 11.56 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009234/1.035, allocations: 225.4 kB / 1.393 GB, free: 11.54 MB / 1.092 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.001972/1.037, allocations: 1.531 MB / 1.395 GB, free: 10.49 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002183/1.039, allocations: 1.237 MB / 1.396 GB, free: 9.766 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/1.039, allocations: 4.125 kB / 1.396 GB, free: 9.762 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/1.041, allocations: 0.8689 MB / 1.397 GB, free: 9.16 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/1.042, allocations: 224.2 kB / 1.397 GB, free: 9.082 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009656/1.051, allocations: 6.402 MB / 1.403 GB, free: 5.371 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007524/1.052, allocations: 1.009 MB / 1.404 GB, free: 4.641 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004687/1.053, allocations: 123.5 kB / 1.404 GB, free: 4.613 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/1.053, allocations: 254.1 kB / 1.405 GB, free: 4.418 MB / 1.092 GB Notification: Performance of SimCode: time 8.22e-07/1.053, allocations: 3.938 kB / 1.405 GB, free: 4.414 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05479/1.108, allocations: 17.67 MB / 1.422 GB, free: 13.3 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.55, allocations: 10.84 kB / 1.422 GB, free: 13.3 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.314012390037533]