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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 102.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 497.2 MB / 0.7812 GB, free: 12.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.91 kB / 1.134 GB, free: 13.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02571/1.035, allocations: 31.25 MB / 1.334 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01999/1.055, allocations: 13.71 MB / 1.348 GB, free: 1.461 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004326/1.059, allocations: 139.2 kB / 1.348 GB, free: 1.418 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009083/1.068, allocations: 3.256 MB / 1.351 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/1.078, allocations: 2.762 MB / 1.354 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006552/1.085, allocations: 2.011 MB / 1.356 GB, free: 12.67 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01295/1.098, allocations: 7.614 MB / 1.363 GB, free: 9.242 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01256/1.11, allocations: 6.144 MB / 1.369 GB, free: 6.723 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009075/1.119, allocations: 3.468 MB / 1.373 GB, free: 5.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008976/1.128, allocations: 3.574 MB / 1.376 GB, free: 3.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003207/1.132, allocations: 0.5951 MB / 1.377 GB, free: 3.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006967/1.139, allocations: 1.518 MB / 1.378 GB, free: 3.379 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006258/1.145, allocations: 2.429 MB / 1.381 GB, free: 2.316 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01228/1.157, allocations: 2.877 MB / 1.383 GB, free: 500 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02268/1.18, allocations: 9.486 MB / 1.393 GB, free: 13.41 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.18, allocations: 4 kB / 1.393 GB, free: 13.41 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.307e-06/1.18, allocations: 2.047 kB / 1.393 GB, free: 13.41 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004044/1.18, allocations: 0 / 1.393 GB, free: 13.41 MB / 1.092 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.02138/1.202, allocations: 5.265 MB / 1.398 GB, free: 10.38 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/1.202, allocations: 13.75 kB / 1.398 GB, free: 10.38 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003449/1.205, allocations: 0.6163 MB / 1.398 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009051/1.214, allocations: 1.02 MB / 1.399 GB, free: 9.727 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/1.226, allocations: 3.096 MB / 1.402 GB, free: 8.129 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005369/1.226, allocations: 314.5 kB / 1.403 GB, free: 7.984 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002879/1.229, allocations: 422.1 kB / 1.403 GB, free: 7.84 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02365/1.253, allocations: 6.797 MB / 1.41 GB, free: 3.609 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004773/1.253, allocations: 18.67 kB / 1.41 GB, free: 3.598 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002507/1.256, allocations: 185.5 kB / 1.41 GB, free: 3.461 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001257/1.257, allocations: 372 kB / 1.41 GB, free: 3.352 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/1.272, allocations: 5.118 MB / 1.415 GB, free: 0.707 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05466/1.326, allocations: 30.56 MB / 1.445 GB, free: 4.09 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/1.329, allocations: 1.327 MB / 1.446 GB, free: 2.758 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/1.331, allocations: 1.238 MB / 1.448 GB, free: 1.52 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/1.331, allocations: 17.31 kB / 1.448 GB, free: 1.504 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.622e-05/1.332, allocations: 51.88 kB / 1.448 GB, free: 1.445 MB / 1.123 GB Notification: Performance of pre-optimization done (n=130): time 3.957e-06/1.332, allocations: 0 / 1.448 GB, free: 1.445 MB / 1.123 GB Notification: Performance of matching and sorting (n=199): time 0.08839/1.42, allocations: 23.08 MB / 1.47 GB, free: 10.25 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/1.42, allocations: 73.41 kB / 1.47 GB, free: 10.16 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/1.424, allocations: 2.062 MB / 1.472 GB, free: 8.086 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000476/1.425, allocations: 57.7 kB / 1.472 GB, free: 8.023 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001832/1.427, allocations: 2.066 MB / 1.474 GB, free: 5.938 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/1.428, allocations: 0.7087 MB / 1.475 GB, free: 5.223 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/1.429, allocations: 420.4 kB / 1.476 GB, free: 4.805 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.429, allocations: 305.1 kB / 1.476 GB, free: 4.504 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/1.432, allocations: 1.426 MB / 1.477 GB, free: 3.074 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003101/1.435, allocations: 2.021 MB / 1.479 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005953/1.441, allocations: 3.688 MB / 1.483 GB, free: 12.87 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/1.441, allocations: 8 kB / 1.483 GB, free: 12.86 MB / 1.17 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01312/1.454, allocations: 5.596 MB / 1.488 GB, free: 7.199 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/1.454, allocations: 16.03 kB / 1.488 GB, free: 7.184 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/1.454, allocations: 19.98 kB / 1.488 GB, free: 7.164 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00705/1.461, allocations: 2.083 MB / 1.49 GB, free: 5.027 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/1.463, allocations: 383.4 kB / 1.491 GB, free: 4.652 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04567/1.508, allocations: 38.46 MB / 1.528 GB, free: 11.67 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003171/1.511, allocations: 127.9 kB / 1.528 GB, free: 11.54 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005096/1.512, allocations: 91.98 kB / 1.528 GB, free: 11.45 MB / 1.217 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.003587/1.516, allocations: 1.512 MB / 1.53 GB, free: 9.93 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.517, allocations: 298.2 kB / 1.53 GB, free: 9.637 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/1.528, allocations: 5.137 MB / 1.535 GB, free: 4.426 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/1.528, allocations: 23.98 kB / 1.535 GB, free: 4.402 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-05/1.528, allocations: 16 kB / 1.535 GB, free: 4.387 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/1.528, allocations: 7.969 kB / 1.535 GB, free: 4.379 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02201/1.55, allocations: 9.618 MB / 1.545 GB, free: 10.55 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/1.55, allocations: 8 kB / 1.545 GB, free: 10.54 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/1.551, allocations: 216.5 kB / 1.545 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006365/1.558, allocations: 1.83 MB / 1.547 GB, free: 8.445 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004595/1.558, allocations: 40 kB / 1.547 GB, free: 8.406 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04307/1.601, allocations: 37.48 MB / 1.583 GB, free: 400 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.74e-05/1.601, allocations: 11.94 kB / 1.583 GB, free: 388 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/1.612, allocations: 4.859 MB / 1.588 GB, free: 11.36 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/1.614, allocations: 0.6318 MB / 1.589 GB, free: 10.71 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/1.616, allocations: 39.94 kB / 1.589 GB, free: 10.67 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/1.618, allocations: 131.8 kB / 1.589 GB, free: 10.54 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009195/1.619, allocations: 189.6 kB / 1.589 GB, free: 10.36 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003293/1.619, allocations: 56 kB / 1.589 GB, free: 10.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003057/1.622, allocations: 1.378 MB / 1.59 GB, free: 8.914 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.11e-07/1.622, allocations: 0 / 1.59 GB, free: 8.914 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.005925/1.628, allocations: 1.051 MB / 1.591 GB, free: 7.863 MB / 1.279 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.01188/1.64, allocations: 5.474 MB / 1.597 GB, free: 2.219 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01336/1.654, allocations: 6.002 MB / 1.603 GB, free: 11.99 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-05/1.654, allocations: 0 / 1.603 GB, free: 11.99 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.008696/1.662, allocations: 4.289 MB / 1.607 GB, free: 7.465 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005571/1.668, allocations: 0.9756 MB / 1.608 GB, free: 6.516 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06196/1.73, allocations: 30.66 MB / 1.638 GB, free: 6.805 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005239/1.735, allocations: 3.121 MB / 1.641 GB, free: 3.648 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002108/1.737, allocations: 0.5159 MB / 1.641 GB, free: 3.129 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002482/1.74, allocations: 1.679 MB / 1.643 GB, free: 1.449 MB / 1.326 GB Notification: Performance of SimCode: time 1.102e-06/1.74, allocations: 4 kB / 1.643 GB, free: 1.445 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2009/1.94, allocations: 88.7 MB / 1.73 GB, free: 9.828 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/17.38, allocations: 7.031 kB / 1.73 GB, free: 9.824 MB / 1.42 GB " [Timeout remaining time 282] (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_2/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.333297512028366]