Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001279/0.001279, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001388/0.001388, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.73/2.73, allocations: 476.8 MB / 0.7715 GB, free: 3.898 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.002092/0.002092, allocations: 66.47 kB / 1.118 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3113, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0398/0.3511, allocations: 31.66 MB / 1.315 GB, free: 10.87 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02579/0.3769, allocations: 14.43 MB / 1.329 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00357/0.3805, allocations: 206.4 kB / 1.329 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01021/0.3907, allocations: 3.661 MB / 1.333 GB, free: 8.531 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008979/0.3996, allocations: 2.984 MB / 1.336 GB, free: 5.531 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00631/0.406, allocations: 2.327 MB / 1.338 GB, free: 3.203 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01264/0.4186, allocations: 8.809 MB / 1.347 GB, free: 10.37 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009225/0.4278, allocations: 5.553 MB / 1.352 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007118/0.4349, allocations: 4.098 MB / 1.356 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008045/0.443, allocations: 4.256 MB / 1.36 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002454/0.4454, allocations: 0.7188 MB / 1.361 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004886/0.4503, allocations: 1.623 MB / 1.363 GB, free: 9.977 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005097/0.4554, allocations: 2.895 MB / 1.365 GB, free: 7.074 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006842/0.4623, allocations: 2.759 MB / 1.368 GB, free: 4.305 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.4766, allocations: 11.28 MB / 1.379 GB, free: 8.992 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4767, allocations: 0 / 1.379 GB, free: 8.992 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4767, allocations: 0 / 1.379 GB, free: 8.992 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002264/0.4769, allocations: 0 / 1.379 GB, free: 8.992 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01308/0.49, allocations: 6.053 MB / 1.385 GB, free: 2.871 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.49, allocations: 8.031 kB / 1.385 GB, free: 2.863 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001506/0.4902, allocations: 138.2 kB / 1.385 GB, free: 2.727 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001339/0.4915, allocations: 0.7309 MB / 1.386 GB, free: 1.984 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006808/0.4983, allocations: 1.168 MB / 1.387 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008498/0.5068, allocations: 3.466 MB / 1.39 GB, free: 13.26 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003659/0.5072, allocations: 382 kB / 1.391 GB, free: 12.88 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/0.5085, allocations: 491.9 kB / 1.391 GB, free: 12.4 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.5246, allocations: 8.862 MB / 1.4 GB, free: 3.051 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.5247, allocations: 27.78 kB / 1.4 GB, free: 3.023 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005864/0.5253, allocations: 216 kB / 1.4 GB, free: 2.812 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001148/0.5265, allocations: 437.5 kB / 1.401 GB, free: 2.383 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.5376, allocations: 6.081 MB / 1.406 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03637/0.574, allocations: 22.05 MB / 1.428 GB, free: 5.75 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/0.5771, allocations: 1.92 MB / 1.43 GB, free: 3.82 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.5798, allocations: 1.732 MB / 1.432 GB, free: 2.09 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.5799, allocations: 21.94 kB / 1.432 GB, free: 2.066 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/0.58, allocations: 64.5 kB / 1.432 GB, free: 1.996 MB / 1.123 GB Notification: Performance of pre-optimization done (n=171): time 4.659e-06/0.58, allocations: 0 / 1.432 GB, free: 1.996 MB / 1.123 GB Notification: Performance of matching and sorting (n=276): time 0.1467/0.7267, allocations: 38.71 MB / 1.469 GB, free: 11.22 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.7267, allocations: 81.58 kB / 1.47 GB, free: 11.12 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.7302, allocations: 2.278 MB / 1.472 GB, free: 8.832 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003513/0.7306, allocations: 73.7 kB / 1.472 GB, free: 8.754 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001835/0.7324, allocations: 2.342 MB / 1.474 GB, free: 6.391 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.7334, allocations: 0.9876 MB / 1.475 GB, free: 5.395 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009911/0.7344, allocations: 0.5063 MB / 1.476 GB, free: 4.879 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7345, allocations: 305.1 kB / 1.476 GB, free: 4.578 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/0.7375, allocations: 1.973 MB / 1.478 GB, free: 2.602 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003633/0.7411, allocations: 2.599 MB / 1.48 GB, free: 15.76 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006923/0.7481, allocations: 4.933 MB / 1.485 GB, free: 10.55 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.7481, allocations: 8 kB / 1.485 GB, free: 10.55 MB / 1.186 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01512/0.7632, allocations: 7.646 MB / 1.493 GB, free: 2.832 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.7632, allocations: 20.22 kB / 1.493 GB, free: 2.812 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/0.7633, allocations: 16 kB / 1.493 GB, free: 2.797 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009595/0.7729, allocations: 3.21 MB / 1.496 GB, free: 15.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.7745, allocations: 399.4 kB / 1.496 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04746/0.8219, allocations: 32.76 MB / 1.528 GB, free: 13.72 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/0.8245, allocations: 167.8 kB / 1.528 GB, free: 13.56 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/0.8248, allocations: 108 kB / 1.528 GB, free: 13.45 MB / 1.232 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003114/0.8279, allocations: 1.791 MB / 1.53 GB, free: 11.65 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000714/0.8286, allocations: 345.8 kB / 1.53 GB, free: 11.31 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/0.8433, allocations: 7.24 MB / 1.538 GB, free: 3.992 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/0.8434, allocations: 32 kB / 1.538 GB, free: 3.961 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.86e-05/0.8434, allocations: 31.94 kB / 1.538 GB, free: 3.93 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.391e-05/0.8435, allocations: 15.94 kB / 1.538 GB, free: 3.914 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/0.8671, allocations: 12.14 MB / 1.549 GB, free: 7.605 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.8672, allocations: 4 kB / 1.549 GB, free: 7.602 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000957/0.8681, allocations: 235.6 kB / 1.55 GB, free: 7.371 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008716/0.8768, allocations: 2.843 MB / 1.552 GB, free: 4.512 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/0.8771, allocations: 52 kB / 1.553 GB, free: 4.461 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04571/0.9228, allocations: 31.54 MB / 1.583 GB, free: 4.219 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-05/0.9228, allocations: 11.94 kB / 1.583 GB, free: 4.207 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/0.9359, allocations: 6.783 MB / 1.59 GB, free: 13.21 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00217/0.9381, allocations: 0.7281 MB / 1.591 GB, free: 12.48 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005174/0.9386, allocations: 56.36 kB / 1.591 GB, free: 12.42 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/0.9404, allocations: 171.7 kB / 1.591 GB, free: 12.25 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/0.9414, allocations: 265.3 kB / 1.591 GB, free: 11.99 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/0.9417, allocations: 80.75 kB / 1.591 GB, free: 11.91 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002433/0.9441, allocations: 1.521 MB / 1.593 GB, free: 10.39 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.9441, allocations: 0 / 1.593 GB, free: 10.39 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004557/0.9486, allocations: 1.371 MB / 1.594 GB, free: 9.02 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01336/0.962, allocations: 7.422 MB / 1.601 GB, free: 1.375 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.6255/1.588, allocations: 6.552 MB / 1.608 GB, free: 295.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/1.588, allocations: 4.25 kB / 1.608 GB, free: 295.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.008003/1.596, allocations: 4.243 MB / 1.612 GB, free: 294.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00545/1.601, allocations: 1.121 MB / 1.613 GB, free: 294.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05972/1.661, allocations: 39.07 MB / 1.651 GB, free: 274.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/1.664, allocations: 3.112 MB / 1.654 GB, free: 272.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001911/1.666, allocations: 0.561 MB / 1.655 GB, free: 271.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/1.667, allocations: 1.974 MB / 1.657 GB, free: 269.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.032e-06/1.667, allocations: 0 / 1.657 GB, free: 269.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1623/1.83, allocations: 119.6 MB / 1.773 GB, free: 152.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.52/20.35, allocations: 14.81 kB / 1.773 GB, free: 152.1 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 28.133521662908606]