Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001562/0.001562, 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.001596/0.001596, 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.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.866/2.866, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.003658/0.003658, allocations: 73.61 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.02, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04275/1.063, allocations: 33.19 MB / 1.311 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01998/1.083, allocations: 10.42 MB / 1.322 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003744/1.087, allocations: 193.8 kB / 1.322 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01095/1.098, allocations: 3.769 MB / 1.325 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007115/1.105, allocations: 1.957 MB / 1.327 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006616/1.111, allocations: 2.139 MB / 1.329 GB, free: 9.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01031/1.122, allocations: 7.322 MB / 1.337 GB, free: 5.309 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/1.132, allocations: 7.041 MB / 1.343 GB, free: 1.895 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006288/1.138, allocations: 3.266 MB / 1.347 GB, free: 16 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006765/1.145, allocations: 3.681 MB / 1.35 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00189/1.147, allocations: 0.6451 MB / 1.351 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005237/1.152, allocations: 1.813 MB / 1.353 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003701/1.156, allocations: 2.608 MB / 1.355 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005912/1.162, allocations: 2.894 MB / 1.358 GB, free: 9.316 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01542/1.177, allocations: 10.15 MB / 1.368 GB, free: 1.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.177, allocations: 0 / 1.368 GB, free: 1.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.305e-06/1.177, allocations: 3.938 kB / 1.368 GB, free: 1.086 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003278/1.178, allocations: 0 / 1.368 GB, free: 1.086 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01507/1.193, allocations: 5.119 MB / 1.373 GB, free: 11.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.193, allocations: 16.03 kB / 1.373 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001618/1.193, allocations: 121.5 kB / 1.373 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001641/1.195, allocations: 0.682 MB / 1.374 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005729/1.2, allocations: 0.9813 MB / 1.375 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005768/1.206, allocations: 3.059 MB / 1.378 GB, free: 6.957 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/1.206, allocations: 345.7 kB / 1.378 GB, free: 6.617 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008199/1.207, allocations: 464.3 kB / 1.378 GB, free: 6.164 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/1.221, allocations: 7.667 MB / 1.386 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/1.221, allocations: 27.83 kB / 1.386 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005331/1.222, allocations: 203.9 kB / 1.386 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003766/1.222, allocations: 312.9 kB / 1.386 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/1.233, allocations: 5.71 MB / 1.392 GB, free: 7.887 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04163/1.275, allocations: 34.88 MB / 1.426 GB, free: 1.801 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/1.278, allocations: 2.009 MB / 1.428 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/1.279, allocations: 1.124 MB / 1.429 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.535e-05/1.279, allocations: 21.3 kB / 1.429 GB, free: 14.53 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/1.279, allocations: 47.88 kB / 1.429 GB, free: 14.48 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 2.925e-06/1.279, allocations: 4 kB / 1.429 GB, free: 14.47 MB / 1.123 GB Notification: Performance of matching and sorting (n=136): time 0.01535/1.295, allocations: 7.118 MB / 1.436 GB, free: 7.09 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/1.295, allocations: 64.72 kB / 1.436 GB, free: 7.016 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/1.297, allocations: 1.48 MB / 1.438 GB, free: 5.488 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/1.297, allocations: 53.64 kB / 1.438 GB, free: 5.43 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001618/1.299, allocations: 2.073 MB / 1.44 GB, free: 3.336 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005516/1.299, allocations: 0.4957 MB / 1.44 GB, free: 2.836 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006043/1.3, allocations: 355.3 kB / 1.441 GB, free: 2.48 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.3, allocations: 305.1 kB / 1.441 GB, free: 2.18 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/1.301, allocations: 0.9174 MB / 1.442 GB, free: 1.262 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/1.303, allocations: 1.585 MB / 1.443 GB, free: 15.37 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/1.307, allocations: 2.733 MB / 1.446 GB, free: 12.32 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/1.307, allocations: 4 kB / 1.446 GB, free: 12.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007101/1.314, allocations: 3.516 MB / 1.449 GB, free: 8.758 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/1.314, allocations: 19.94 kB / 1.449 GB, free: 8.738 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.904e-05/1.314, allocations: 27.94 kB / 1.449 GB, free: 8.711 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/1.317, allocations: 0.8999 MB / 1.45 GB, free: 7.773 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.318, allocations: 351.4 kB / 1.451 GB, free: 7.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02458/1.343, allocations: 23.11 MB / 1.473 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/1.345, allocations: 99.92 kB / 1.473 GB, free: 14.54 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/1.345, allocations: 88.06 kB / 1.473 GB, free: 14.46 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003398/1.348, allocations: 1.606 MB / 1.475 GB, free: 12.84 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/1.349, allocations: 214.6 kB / 1.475 GB, free: 12.63 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005798/1.355, allocations: 2.959 MB / 1.478 GB, free: 9.621 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/1.355, allocations: 12 kB / 1.478 GB, free: 9.609 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/1.355, allocations: 8 kB / 1.478 GB, free: 9.602 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/1.355, allocations: 11.97 kB / 1.478 GB, free: 9.59 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/1.368, allocations: 7.321 MB / 1.485 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.368, allocations: 4.562 kB / 1.485 GB, free: 2.027 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008169/1.369, allocations: 175.7 kB / 1.485 GB, free: 1.855 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/1.372, allocations: 0.8257 MB / 1.486 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.972e-05/1.372, allocations: 24 kB / 1.486 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02368/1.395, allocations: 21.97 MB / 1.508 GB, free: 9.316 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.395, allocations: 4 kB / 1.508 GB, free: 9.312 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006297/1.402, allocations: 3.011 MB / 1.511 GB, free: 6.191 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.403, allocations: 475.5 kB / 1.511 GB, free: 5.707 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/1.403, allocations: 24 kB / 1.511 GB, free: 5.684 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008648/1.404, allocations: 79.91 kB / 1.511 GB, free: 5.605 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004092/1.404, allocations: 124.7 kB / 1.511 GB, free: 5.484 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.233e-05/1.405, allocations: 36 kB / 1.511 GB, free: 5.449 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001535/1.406, allocations: 0.9834 MB / 1.512 GB, free: 4.441 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.406, allocations: 0 / 1.512 GB, free: 4.441 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003368/1.409, allocations: 0.789 MB / 1.513 GB, free: 3.652 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006277/1.416, allocations: 3.604 MB / 1.517 GB, free: 15.92 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006535/1.422, allocations: 3.921 MB / 1.52 GB, free: 11.85 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.422, allocations: 0 / 1.52 GB, free: 11.85 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00428/1.427, allocations: 2.663 MB / 1.523 GB, free: 9.035 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/1.43, allocations: 0.7453 MB / 1.524 GB, free: 8.312 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04261/1.473, allocations: 22.42 MB / 1.546 GB, free: 0.8828 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004235/1.477, allocations: 3.105 MB / 1.549 GB, free: 13.75 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00141/1.478, allocations: 457.9 kB / 1.549 GB, free: 13.3 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/1.48, allocations: 1.538 MB / 1.551 GB, free: 11.76 MB / 1.248 GB Notification: Performance of SimCode: time 1.472e-06/1.48, allocations: 0 / 1.551 GB, free: 11.76 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1711/1.651, allocations: 61.89 MB / 1.611 GB, free: 14.6 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/15.51, allocations: 26.59 kB / 1.611 GB, free: 14.58 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 22.8959900290356]