Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001902/0.001902, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.00237/0.00237, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.549/1.549, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.033/3.033, allocations: 0.5003 GB / 0.8026 GB, free: 6.914 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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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.002226/0.002226, allocations: 67.91 kB / 1.165 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9208/0.9231, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01582/0.9389, allocations: 14.27 MB / 1.354 GB, free: 6.539 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.9548, allocations: 9.535 MB / 1.363 GB, free: 48 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.9568, allocations: 81.66 kB / 1.363 GB, free: 0 / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005127/0.962, allocations: 1.69 MB / 1.365 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005286/0.9673, allocations: 1.575 MB / 1.367 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.9697, allocations: 0.7532 MB / 1.367 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004109/0.9738, allocations: 2.537 MB / 1.37 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.9756, allocations: 1.122 MB / 1.371 GB, free: 11.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.9775, allocations: 1.089 MB / 1.372 GB, free: 11.49 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.9794, allocations: 1.208 MB / 1.373 GB, free: 11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002965/0.9797, allocations: 164.9 kB / 1.373 GB, free: 11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.9815, allocations: 0.8073 MB / 1.374 GB, free: 10.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00074/0.9823, allocations: 0.6337 MB / 1.375 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.9835, allocations: 0.9361 MB / 1.376 GB, free: 9.887 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.9874, allocations: 2.765 MB / 1.378 GB, free: 8.922 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.9874, allocations: 0 / 1.378 GB, free: 8.922 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9874, allocations: 4 kB / 1.378 GB, free: 8.918 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.755e-05/0.9874, allocations: 0.6562 kB / 1.378 GB, free: 8.918 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00477/0.9922, allocations: 2.192 MB / 1.381 GB, free: 7.547 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9922, allocations: 9.812 kB / 1.381 GB, free: 7.547 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.244e-05/0.9923, allocations: 31.91 kB / 1.381 GB, free: 7.543 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002986/0.9926, allocations: 193.9 kB / 1.381 GB, free: 7.422 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/1.006, allocations: 2.103 MB / 1.383 GB, free: 7.273 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/1.009, allocations: 1.303 MB / 1.384 GB, free: 6.555 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.52e-05/1.009, allocations: 90.58 kB / 1.384 GB, free: 6.512 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003644/1.009, allocations: 120.8 kB / 1.384 GB, free: 6.469 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007169/1.017, allocations: 2.673 MB / 1.387 GB, free: 5.395 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.545e-05/1.017, allocations: 12.88 kB / 1.387 GB, free: 5.387 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/1.017, allocations: 49.77 kB / 1.387 GB, free: 5.352 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007528/1.018, allocations: 184.8 kB / 1.387 GB, free: 5.332 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008888/1.027, allocations: 2.797 MB / 1.39 GB, free: 4.605 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/1.044, allocations: 10.48 MB / 1.4 GB, free: 12.26 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007507/1.051, allocations: 2.449 MB / 1.402 GB, free: 10.86 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003481/1.055, allocations: 1.206 MB / 1.404 GB, free: 10.24 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/1.055, allocations: 17.8 kB / 1.404 GB, free: 10.23 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.055, allocations: 39.75 kB / 1.404 GB, free: 10.19 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 2.445e-06/1.055, allocations: 1.094 kB / 1.404 GB, free: 10.19 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.0518/1.107, allocations: 13.34 MB / 1.417 GB, free: 3.27 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/1.107, allocations: 64.78 kB / 1.417 GB, free: 3.207 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/1.108, allocations: 1.118 MB / 1.418 GB, free: 2.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001856/1.109, allocations: 50.3 kB / 1.418 GB, free: 2.539 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006041/1.109, allocations: 0.7238 MB / 1.419 GB, free: 1.895 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/1.11, allocations: 484.9 kB / 1.419 GB, free: 1.473 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000566/1.11, allocations: 262.9 kB / 1.419 GB, free: 1.328 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.11, allocations: 361.5 kB / 1.42 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003766/1.114, allocations: 1.342 MB / 1.421 GB, free: 300 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003903/1.118, allocations: 1.606 MB / 1.423 GB, free: 15.29 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007645/1.126, allocations: 2.988 MB / 1.426 GB, free: 13.56 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/1.126, allocations: 2.625 kB / 1.426 GB, free: 13.56 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01307/1.139, allocations: 4.397 MB / 1.43 GB, free: 11.14 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/1.139, allocations: 16.77 kB / 1.43 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.139, allocations: 7.031 kB / 1.43 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005796/1.145, allocations: 1.433 MB / 1.431 GB, free: 9.926 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/1.147, allocations: 431.3 kB / 1.432 GB, free: 9.504 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03088/1.178, allocations: 26.7 MB / 1.458 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/1.181, allocations: 311.5 kB / 1.458 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/1.181, allocations: 59.97 kB / 1.458 GB, free: 12.61 MB / 1.139 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001146/1.182, allocations: 433.5 kB / 1.458 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/1.183, allocations: 167 kB / 1.459 GB, free: 12.02 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.196, allocations: 4.41 MB / 1.463 GB, free: 7.551 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/1.196, allocations: 12 kB / 1.463 GB, free: 7.539 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/1.196, allocations: 12 kB / 1.463 GB, free: 7.527 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.196, allocations: 11.97 kB / 1.463 GB, free: 7.516 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/1.213, allocations: 6.728 MB / 1.47 GB, free: 0.6133 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.213, allocations: 4 kB / 1.47 GB, free: 0.6094 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.215, allocations: 387.6 kB / 1.47 GB, free: 236 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005353/1.22, allocations: 1.314 MB / 1.471 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002567/1.221, allocations: 35.97 kB / 1.471 GB, free: 14.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02943/1.25, allocations: 25.51 MB / 1.496 GB, free: 3.504 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/1.25, allocations: 4.031 kB / 1.496 GB, free: 3.5 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/1.262, allocations: 4.168 MB / 1.5 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.263, allocations: 463.8 kB / 1.501 GB, free: 14.76 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/1.264, allocations: 27.98 kB / 1.501 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/1.266, allocations: 299.5 kB / 1.501 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004618/1.266, allocations: 136.6 kB / 1.501 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/1.266, allocations: 47.97 kB / 1.501 GB, free: 14.26 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001107/1.268, allocations: 0.7526 MB / 1.502 GB, free: 13.51 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.268, allocations: 0 / 1.502 GB, free: 13.51 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002213/1.27, allocations: 0.5703 MB / 1.502 GB, free: 12.94 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01216/1.282, allocations: 4.761 MB / 1.507 GB, free: 8.074 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.294, allocations: 4.962 MB / 1.512 GB, free: 2.941 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.294, allocations: 0 / 1.512 GB, free: 2.941 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00756/1.302, allocations: 3.425 MB / 1.515 GB, free: 15.35 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/1.304, allocations: 0.551 MB / 1.516 GB, free: 14.82 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04676/1.351, allocations: 19.32 MB / 1.535 GB, free: 11.04 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/1.353, allocations: 1.477 MB / 1.536 GB, free: 9.527 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001877/1.355, allocations: 421.6 kB / 1.537 GB, free: 9.109 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/1.356, allocations: 0.6281 MB / 1.537 GB, free: 8.484 MB / 1.217 GB Notification: Performance of SimCode: time 2.525e-06/1.356, allocations: 0 / 1.537 GB, free: 8.484 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/1.492, allocations: 52.03 MB / 1.588 GB, free: 5.117 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.35/20.85, allocations: 15.98 kB / 1.588 GB, free: 5.102 MB / 1.264 GB " [Timeout remaining time 279] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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: 27.902028942015022]