Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001295/0.001295, 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.001479/0.001479, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.789 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.153/3.153, allocations: 0.4893 GB / 0.7944 GB, free: 35.64 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.002113/0.002113, allocations: 62.12 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.324, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01962/0.3436, allocations: 13.94 MB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.3609, allocations: 9.983 MB / 1.348 GB, free: 10.39 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.3623, allocations: 87.19 kB / 1.349 GB, free: 10.31 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005034/0.3673, allocations: 1.682 MB / 1.35 GB, free: 8.625 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006206/0.3735, allocations: 1.853 MB / 1.352 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.3759, allocations: 0.7538 MB / 1.353 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004373/0.3803, allocations: 2.762 MB / 1.355 GB, free: 3.242 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.3824, allocations: 1.188 MB / 1.357 GB, free: 2.012 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/0.3853, allocations: 1.722 MB / 1.358 GB, free: 292 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.3872, allocations: 1.046 MB / 1.359 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004359/0.3877, allocations: 159.9 kB / 1.359 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.3894, allocations: 0.7252 MB / 1.36 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000983/0.3904, allocations: 0.6113 MB / 1.361 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.3918, allocations: 0.7659 MB / 1.361 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004164/0.3959, allocations: 2.763 MB / 1.364 GB, free: 10.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3959, allocations: 3.938 kB / 1.364 GB, free: 10.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.306e-06/0.3959, allocations: 0 / 1.364 GB, free: 10.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.185e-05/0.396, allocations: 0 / 1.364 GB, free: 10.19 MB / 1.061 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.004639/0.4006, allocations: 2.147 MB / 1.366 GB, free: 8.004 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4007, allocations: 8.031 kB / 1.366 GB, free: 7.996 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002736/0.401, allocations: 194.4 kB / 1.366 GB, free: 7.797 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.4129, allocations: 2.117 MB / 1.369 GB, free: 5.676 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.4162, allocations: 1.186 MB / 1.37 GB, free: 4.441 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-05/0.4163, allocations: 90.66 kB / 1.37 GB, free: 4.352 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.4166, allocations: 119.9 kB / 1.37 GB, free: 4.234 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00643/0.4231, allocations: 2.885 MB / 1.373 GB, free: 1.152 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.735e-05/0.4231, allocations: 15.94 kB / 1.373 GB, free: 1.137 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.4233, allocations: 47.98 kB / 1.373 GB, free: 1.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007345/0.424, allocations: 194.1 kB / 1.373 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00836/0.4324, allocations: 2.787 MB / 1.376 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.4485, allocations: 8.331 MB / 1.384 GB, free: 5.598 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007173/0.4557, allocations: 2.171 MB / 1.386 GB, free: 3.418 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003435/0.4591, allocations: 1.202 MB / 1.387 GB, free: 2.215 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.276e-05/0.4592, allocations: 9 kB / 1.387 GB, free: 2.207 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.4592, allocations: 43.56 kB / 1.387 GB, free: 2.156 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.046e-06/0.4592, allocations: 0 / 1.387 GB, free: 2.156 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06486/0.5241, allocations: 16.01 MB / 1.403 GB, free: 2.098 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.5241, allocations: 68.72 kB / 1.403 GB, free: 2.016 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.5259, allocations: 1.188 MB / 1.404 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001946/0.5261, allocations: 49.7 kB / 1.404 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006816/0.5268, allocations: 0.7569 MB / 1.405 GB, free: 16 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000604/0.5274, allocations: 0.5421 MB / 1.405 GB, free: 15.45 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006036/0.528, allocations: 287.5 kB / 1.406 GB, free: 15.16 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5281, allocations: 309.1 kB / 1.406 GB, free: 14.86 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003959/0.5321, allocations: 1.507 MB / 1.407 GB, free: 13.35 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004111/0.5362, allocations: 1.78 MB / 1.409 GB, free: 11.48 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008158/0.5443, allocations: 3.365 MB / 1.412 GB, free: 8.016 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.5444, allocations: 4 kB / 1.412 GB, free: 8.012 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01453/0.5589, allocations: 5.211 MB / 1.417 GB, free: 2.762 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.5589, allocations: 8 kB / 1.417 GB, free: 2.754 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.5589, allocations: 8 kB / 1.418 GB, free: 2.746 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007322/0.5663, allocations: 1.879 MB / 1.419 GB, free: 0.8438 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.5684, allocations: 411.3 kB / 1.42 GB, free: 452 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03374/0.6021, allocations: 23.07 MB / 1.442 GB, free: 8.473 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002953/0.6051, allocations: 303.5 kB / 1.443 GB, free: 8.176 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/0.6053, allocations: 67.91 kB / 1.443 GB, free: 8.109 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009938/0.6063, allocations: 473.5 kB / 1.443 GB, free: 7.637 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.6067, allocations: 186.8 kB / 1.443 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/0.6215, allocations: 5.249 MB / 1.448 GB, free: 2.156 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/0.6216, allocations: 16 kB / 1.448 GB, free: 2.141 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.458e-05/0.6216, allocations: 16 kB / 1.448 GB, free: 2.125 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.6216, allocations: 11.97 kB / 1.448 GB, free: 2.113 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/0.6404, allocations: 6.974 MB / 1.455 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.6404, allocations: 4 kB / 1.455 GB, free: 11.01 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/0.6422, allocations: 351.7 kB / 1.456 GB, free: 10.67 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006484/0.6487, allocations: 1.701 MB / 1.457 GB, free: 8.945 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/0.6489, allocations: 51.91 kB / 1.457 GB, free: 8.895 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03176/0.6807, allocations: 22.22 MB / 1.479 GB, free: 1.773 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.6807, allocations: 7.938 kB / 1.479 GB, free: 1.766 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.6943, allocations: 4.829 MB / 1.484 GB, free: 12.85 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/0.6957, allocations: 422.6 kB / 1.484 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/0.696, allocations: 35.98 kB / 1.484 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/0.6983, allocations: 319.5 kB / 1.484 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005897/0.6988, allocations: 160.9 kB / 1.485 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.699, allocations: 51.97 kB / 1.485 GB, free: 11.88 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001211/0.7002, allocations: 0.7899 MB / 1.485 GB, free: 11.09 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.7002, allocations: 0 / 1.485 GB, free: 11.09 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002182/0.7024, allocations: 0.6562 MB / 1.486 GB, free: 10.43 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01391/0.7163, allocations: 5.422 MB / 1.491 GB, free: 4.922 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01243/0.7287, allocations: 4.928 MB / 1.496 GB, free: 15.89 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.7287, allocations: 0 / 1.496 GB, free: 15.89 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.007769/0.7365, allocations: 3.273 MB / 1.499 GB, free: 12.51 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.7391, allocations: 0.5571 MB / 1.5 GB, free: 11.97 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05218/0.7913, allocations: 21.79 MB / 1.521 GB, free: 5.676 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.7927, allocations: 0.9843 MB / 1.522 GB, free: 4.652 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001722/0.7944, allocations: 378.4 kB / 1.522 GB, free: 4.277 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.7955, allocations: 0.6593 MB / 1.523 GB, free: 3.617 MB / 1.217 GB Notification: Performance of SimCode: time 1.533e-06/0.7955, allocations: 0 / 1.523 GB, free: 3.617 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1454/0.9409, allocations: 63.85 MB / 1.585 GB, free: 4.734 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.5, allocations: 8.047 kB / 1.585 GB, free: 4.727 MB / 1.279 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 21.26514005707577]