Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001492/0.001492, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001517/0.001517, allocations: 214.1 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.019/3.019, allocations: 0.49 GB / 0.7959 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_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.001924/0.001924, allocations: 62.88 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3217, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03778/0.3595, allocations: 32.16 MB / 1.358 GB, free: 1.676 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02388/0.3834, allocations: 14.02 MB / 1.372 GB, free: 3.617 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003499/0.3869, allocations: 190.5 kB / 1.372 GB, free: 3.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009223/0.3961, allocations: 3.339 MB / 1.375 GB, free: 84 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008482/0.4046, allocations: 2.776 MB / 1.378 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006016/0.4106, allocations: 2.078 MB / 1.38 GB, free: 11.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01247/0.423, allocations: 7.618 MB / 1.387 GB, free: 3.566 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009585/0.4326, allocations: 4.65 MB / 1.392 GB, free: 14.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007073/0.4397, allocations: 3.517 MB / 1.395 GB, free: 11.27 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007137/0.4468, allocations: 3.578 MB / 1.399 GB, free: 7.68 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00205/0.4489, allocations: 0.5977 MB / 1.399 GB, free: 7.082 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/0.4534, allocations: 1.51 MB / 1.401 GB, free: 5.57 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004288/0.4577, allocations: 2.42 MB / 1.403 GB, free: 3.145 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006518/0.4642, allocations: 2.89 MB / 1.406 GB, free: 248 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.4795, allocations: 9.488 MB / 1.415 GB, free: 6.723 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.4795, allocations: 0 / 1.415 GB, free: 6.723 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4795, allocations: 0 / 1.415 GB, free: 6.723 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003506/0.4799, allocations: 4 kB / 1.415 GB, free: 6.719 MB / 1.107 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.01596/0.4958, allocations: 5.183 MB / 1.42 GB, free: 1.469 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4959, allocations: 12.03 kB / 1.42 GB, free: 1.457 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001688/0.496, allocations: 116.7 kB / 1.421 GB, free: 1.34 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002612/0.4986, allocations: 0.6203 MB / 1.421 GB, free: 0.707 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007046/0.5057, allocations: 1.028 MB / 1.422 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007716/0.5134, allocations: 3.017 MB / 1.425 GB, free: 12.57 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/0.5138, allocations: 320.5 kB / 1.425 GB, free: 12.25 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001505/0.5153, allocations: 419.9 kB / 1.426 GB, free: 11.84 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/0.5301, allocations: 6.788 MB / 1.432 GB, free: 4.758 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.5303, allocations: 19.83 kB / 1.432 GB, free: 4.738 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006023/0.5309, allocations: 184 kB / 1.433 GB, free: 4.559 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009106/0.5318, allocations: 368 kB / 1.433 GB, free: 4.195 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.5421, allocations: 5.118 MB / 1.438 GB, free: 15.06 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0404/0.5825, allocations: 30.26 MB / 1.468 GB, free: 14.02 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.5848, allocations: 1.312 MB / 1.469 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.5866, allocations: 1.251 MB / 1.47 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-05/0.5867, allocations: 17.31 kB / 1.47 GB, free: 11.43 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/0.5867, allocations: 43.88 kB / 1.47 GB, free: 11.38 MB / 1.17 GB Notification: Performance of pre-optimization done (n=130): time 3.326e-06/0.5867, allocations: 0 / 1.47 GB, free: 11.38 MB / 1.17 GB Notification: Performance of matching and sorting (n=199): time 0.08871/0.6754, allocations: 22.85 MB / 1.492 GB, free: 4.465 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.6755, allocations: 73.41 kB / 1.492 GB, free: 4.379 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.679, allocations: 2.062 MB / 1.495 GB, free: 2.301 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003198/0.6793, allocations: 57.7 kB / 1.495 GB, free: 2.238 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001699/0.681, allocations: 2.067 MB / 1.497 GB, free: 156 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008951/0.6819, allocations: 0.7167 MB / 1.497 GB, free: 15.43 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000987/0.6829, allocations: 412.4 kB / 1.498 GB, free: 15.02 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.683, allocations: 304.9 kB / 1.498 GB, free: 14.72 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.6854, allocations: 1.437 MB / 1.499 GB, free: 13.28 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002853/0.6882, allocations: 2.017 MB / 1.501 GB, free: 11.02 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005464/0.6937, allocations: 3.688 MB / 1.505 GB, free: 7.09 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/0.6937, allocations: 12 kB / 1.505 GB, free: 7.078 MB / 1.201 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01239/0.7061, allocations: 5.589 MB / 1.51 GB, free: 1.422 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.7061, allocations: 16.06 kB / 1.51 GB, free: 1.406 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/0.7062, allocations: 16 kB / 1.51 GB, free: 1.391 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007018/0.7132, allocations: 2.087 MB / 1.512 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.715, allocations: 375.4 kB / 1.513 GB, free: 14.88 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04513/0.7601, allocations: 36.62 MB / 1.549 GB, free: 8.184 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.7625, allocations: 123.9 kB / 1.549 GB, free: 8.062 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/0.7629, allocations: 92 kB / 1.549 GB, free: 7.973 MB / 1.248 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.003039/0.766, allocations: 1.512 MB / 1.55 GB, free: 6.449 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007735/0.7667, allocations: 302.1 kB / 1.551 GB, free: 6.152 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.7781, allocations: 5.133 MB / 1.556 GB, free: 0.9414 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.007e-05/0.7782, allocations: 20 kB / 1.556 GB, free: 0.9219 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-05/0.7782, allocations: 16 kB / 1.556 GB, free: 0.9062 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.044e-05/0.7783, allocations: 11.95 kB / 1.556 GB, free: 0.8945 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02158/0.7999, allocations: 9.582 MB / 1.565 GB, free: 7.113 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/0.7999, allocations: 8.844 kB / 1.565 GB, free: 7.105 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009566/0.8008, allocations: 211.6 kB / 1.565 GB, free: 6.898 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006257/0.8071, allocations: 1.85 MB / 1.567 GB, free: 4.992 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002878/0.8074, allocations: 40 kB / 1.567 GB, free: 4.953 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6448/1.452, allocations: 35.62 MB / 1.602 GB, free: 248.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.398e-05/1.452, allocations: 9.469 kB / 1.602 GB, free: 248.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009609/1.462, allocations: 4.857 MB / 1.607 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.464, allocations: 0.5569 MB / 1.607 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/1.464, allocations: 46.53 kB / 1.607 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.465, allocations: 127.5 kB / 1.607 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006716/1.466, allocations: 204.1 kB / 1.607 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.466, allocations: 57.47 kB / 1.608 GB, free: 248 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002241/1.468, allocations: 1.376 MB / 1.609 GB, free: 247.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.468, allocations: 0 / 1.609 GB, free: 247.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003922/1.472, allocations: 1.049 MB / 1.61 GB, free: 247.9 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.01037/1.483, allocations: 5.471 MB / 1.615 GB, free: 246.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009476/1.492, allocations: 6.011 MB / 1.621 GB, free: 243.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.492, allocations: 2.25 kB / 1.621 GB, free: 243.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006205/1.498, allocations: 4.288 MB / 1.625 GB, free: 240.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004653/1.503, allocations: 0.9944 MB / 1.626 GB, free: 240.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05028/1.553, allocations: 30.76 MB / 1.656 GB, free: 226.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003265/1.557, allocations: 3.126 MB / 1.659 GB, free: 225.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001887/1.559, allocations: 0.5221 MB / 1.66 GB, free: 225.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/1.56, allocations: 1.671 MB / 1.662 GB, free: 223.7 MB / 1.295 GB Notification: Performance of SimCode: time 9.42e-07/1.56, allocations: 0 / 1.662 GB, free: 223.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.16/1.72, allocations: 91 MB / 1.75 GB, free: 136.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/18.29, allocations: 16.98 kB / 1.75 GB, free: 136.4 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 25.70251592498971]