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.001788/0.001788, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002171/0.002171, allocations: 214.6 kB / 22.25 MB, free: 5.258 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 7.781 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.217/3.217, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",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.00209/0.00209, allocations: 64.86 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04403/0.4019, allocations: 29.29 MB / 1.392 GB, free: 0.625 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02486/0.4268, allocations: 13.21 MB / 1.405 GB, free: 3.387 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.43, allocations: 198.4 kB / 1.405 GB, free: 3.191 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.009926/0.4399, allocations: 3.209 MB / 1.408 GB, free: 15.97 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009182/0.4491, allocations: 2.742 MB / 1.411 GB, free: 13.22 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0062/0.4553, allocations: 2.034 MB / 1.413 GB, free: 11.18 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01177/0.4671, allocations: 7.617 MB / 1.42 GB, free: 3.543 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009567/0.4766, allocations: 4.596 MB / 1.425 GB, free: 14.82 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007366/0.484, allocations: 3.662 MB / 1.428 GB, free: 11.15 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006746/0.4908, allocations: 3.285 MB / 1.432 GB, free: 7.855 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002041/0.4928, allocations: 0.5938 MB / 1.432 GB, free: 7.262 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.497, allocations: 1.404 MB / 1.434 GB, free: 5.855 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00395/0.5009, allocations: 2.42 MB / 1.436 GB, free: 3.43 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005329/0.5062, allocations: 2.327 MB / 1.438 GB, free: 1.094 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.52, allocations: 9.516 MB / 1.447 GB, free: 7.547 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.52, allocations: 4 kB / 1.447 GB, free: 7.543 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.553e-06/0.52, allocations: 0 / 1.447 GB, free: 7.543 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002909/0.5203, allocations: 3.938 kB / 1.447 GB, free: 7.539 MB / 1.139 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.01509/0.5354, allocations: 5.16 MB / 1.453 GB, free: 2.312 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.5355, allocations: 12.03 kB / 1.453 GB, free: 2.301 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001865/0.5373, allocations: 0.6164 MB / 1.453 GB, free: 1.672 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006796/0.5441, allocations: 1.02 MB / 1.454 GB, free: 0.6484 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008597/0.5527, allocations: 3.017 MB / 1.457 GB, free: 13.54 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004048/0.5531, allocations: 316.8 kB / 1.457 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001463/0.5546, allocations: 423.9 kB / 1.458 GB, free: 12.81 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01738/0.572, allocations: 7.362 MB / 1.465 GB, free: 5.023 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002044/0.5722, allocations: 19.83 kB / 1.465 GB, free: 5.004 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/0.5733, allocations: 184 kB / 1.465 GB, free: 4.824 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00106/0.5743, allocations: 368 kB / 1.466 GB, free: 4.461 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.5854, allocations: 5.11 MB / 1.471 GB, free: 15.33 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03315/0.6186, allocations: 19.78 MB / 1.49 GB, free: 11.03 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.6208, allocations: 1.312 MB / 1.491 GB, free: 9.707 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.6227, allocations: 1.239 MB / 1.492 GB, free: 8.473 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.993e-05/0.6228, allocations: 13.31 kB / 1.492 GB, free: 8.457 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.6229, allocations: 51.88 kB / 1.492 GB, free: 8.398 MB / 1.186 GB Notification: Performance of pre-optimization done (n=130): time 3.757e-06/0.6229, allocations: 0 / 1.492 GB, free: 8.398 MB / 1.186 GB Notification: Performance of matching and sorting (n=199): time 0.09347/0.7164, allocations: 22.85 MB / 1.515 GB, free: 1.48 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.7164, allocations: 69.41 kB / 1.515 GB, free: 1.398 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/0.7197, allocations: 2.105 MB / 1.517 GB, free: 15.28 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.7199, allocations: 61.7 kB / 1.517 GB, free: 15.21 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.7216, allocations: 2.055 MB / 1.519 GB, free: 13.14 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000733/0.7224, allocations: 0.7127 MB / 1.52 GB, free: 12.42 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007471/0.7231, allocations: 412.4 kB / 1.52 GB, free: 12.01 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7232, allocations: 305.1 kB / 1.52 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/0.7255, allocations: 1.437 MB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/0.7283, allocations: 2.01 MB / 1.524 GB, free: 8.008 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005313/0.7336, allocations: 3.704 MB / 1.527 GB, free: 4.066 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.7336, allocations: 4 kB / 1.527 GB, free: 4.062 MB / 1.217 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01166/0.7453, allocations: 5.6 MB / 1.533 GB, free: 14.39 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.7453, allocations: 12 kB / 1.533 GB, free: 14.38 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.7453, allocations: 20 kB / 1.533 GB, free: 14.36 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006961/0.7523, allocations: 2.072 MB / 1.535 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.7538, allocations: 379.3 kB / 1.535 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04308/0.7969, allocations: 36.28 MB / 1.571 GB, free: 5.508 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.7992, allocations: 123.9 kB / 1.571 GB, free: 5.387 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.7994, allocations: 92 kB / 1.571 GB, free: 5.297 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.002721/0.8022, allocations: 1.512 MB / 1.572 GB, free: 3.773 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006257/0.8028, allocations: 298.2 kB / 1.573 GB, free: 3.48 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.8138, allocations: 5.149 MB / 1.578 GB, free: 14.25 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.8138, allocations: 20 kB / 1.578 GB, free: 14.23 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.776e-05/0.8138, allocations: 20.28 kB / 1.578 GB, free: 14.21 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.8138, allocations: 11.95 kB / 1.578 GB, free: 14.2 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/0.8327, allocations: 9.083 MB / 1.586 GB, free: 4.922 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.8327, allocations: 11.92 kB / 1.586 GB, free: 4.91 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000903/0.8336, allocations: 220.5 kB / 1.587 GB, free: 4.695 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006134/0.8398, allocations: 1.834 MB / 1.588 GB, free: 2.805 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.8399, allocations: 39.98 kB / 1.589 GB, free: 2.766 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.689/1.529, allocations: 35.28 MB / 1.623 GB, free: 209.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/1.529, allocations: 13.83 kB / 1.623 GB, free: 209.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009481/1.538, allocations: 4.856 MB / 1.628 GB, free: 207.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/1.54, allocations: 0.5493 MB / 1.628 GB, free: 207.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/1.541, allocations: 40.8 kB / 1.628 GB, free: 207.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/1.542, allocations: 129.4 kB / 1.628 GB, free: 207.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006901/1.543, allocations: 208.3 kB / 1.629 GB, free: 207.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/1.543, allocations: 59.34 kB / 1.629 GB, free: 207.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002575/1.546, allocations: 1.375 MB / 1.63 GB, free: 206.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.3e-07/1.546, allocations: 0 / 1.63 GB, free: 206.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003924/1.549, allocations: 1.053 MB / 1.631 GB, free: 206.8 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.009263/1.559, allocations: 5.465 MB / 1.636 GB, free: 204.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009245/1.568, allocations: 6.004 MB / 1.642 GB, free: 200.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.568, allocations: 5.938 kB / 1.642 GB, free: 200.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00614/1.574, allocations: 4.288 MB / 1.646 GB, free: 197.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004157/1.578, allocations: 0.991 MB / 1.647 GB, free: 197.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04696/1.625, allocations: 30.75 MB / 1.677 GB, free: 183.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002715/1.628, allocations: 2.578 MB / 1.68 GB, free: 181.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001705/1.63, allocations: 0.5255 MB / 1.68 GB, free: 181.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.631, allocations: 1.668 MB / 1.682 GB, free: 179.8 MB / 1.295 GB Notification: Performance of SimCode: time 8.12e-07/1.631, allocations: 0 / 1.682 GB, free: 179.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1674/1.799, allocations: 94.49 MB / 1.774 GB, free: 88.02 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.86, allocations: 8.062 kB / 1.774 GB, free: 88.01 MB / 1.295 GB " [Timeout remaining time 283] (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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.232462717220187]