Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001235/0.001235, allocations: 101.3 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.001372/0.001372, allocations: 220.2 kB / 23.03 MB, free: 4.941 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.368/1.368, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.032/3.032, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 177] 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_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_latest_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.001943/0.001943, allocations: 62.78 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 179 MB / 1.345 GB, free: 16 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04115/0.3688, allocations: 31.68 MB / 1.376 GB, free: 204 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02543/0.3942, allocations: 14.43 MB / 1.39 GB, free: 1.734 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003358/0.3976, allocations: 206.4 kB / 1.391 GB, free: 1.531 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.4076, allocations: 3.66 MB / 1.394 GB, free: 13.86 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008494/0.4161, allocations: 2.978 MB / 1.397 GB, free: 10.87 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006701/0.4228, allocations: 2.339 MB / 1.399 GB, free: 8.531 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01267/0.4355, allocations: 8.812 MB / 1.408 GB, free: 15.69 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01114/0.4467, allocations: 5.544 MB / 1.413 GB, free: 10.02 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008226/0.4549, allocations: 4.09 MB / 1.417 GB, free: 5.922 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008955/0.4638, allocations: 4.264 MB / 1.421 GB, free: 1.645 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002591/0.4664, allocations: 0.7148 MB / 1.422 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004765/0.4712, allocations: 1.63 MB / 1.424 GB, free: 15.3 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004862/0.4761, allocations: 2.895 MB / 1.427 GB, free: 12.39 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.006433/0.4825, allocations: 2.751 MB / 1.429 GB, free: 9.633 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01635/0.4988, allocations: 11.28 MB / 1.44 GB, free: 14.32 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.4988, allocations: 3.938 kB / 1.44 GB, free: 14.31 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4988, allocations: 0 / 1.44 GB, free: 14.31 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004064/0.4993, allocations: 0 / 1.44 GB, free: 14.31 MB / 1.139 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.01698/0.5162, allocations: 6.049 MB / 1.446 GB, free: 8.199 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.5163, allocations: 15.97 kB / 1.446 GB, free: 8.184 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001678/0.5165, allocations: 138.2 kB / 1.446 GB, free: 8.047 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002516/0.519, allocations: 0.7232 MB / 1.447 GB, free: 7.312 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008132/0.5271, allocations: 1.176 MB / 1.448 GB, free: 6.133 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00906/0.5362, allocations: 3.47 MB / 1.452 GB, free: 2.574 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004659/0.5366, allocations: 378.2 kB / 1.452 GB, free: 2.203 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002021/0.5386, allocations: 499.9 kB / 1.452 GB, free: 1.715 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/0.5578, allocations: 8.855 MB / 1.461 GB, free: 8.371 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001582/0.558, allocations: 19.83 kB / 1.461 GB, free: 8.352 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008671/0.5588, allocations: 220 kB / 1.461 GB, free: 8.137 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001126/0.56, allocations: 441.6 kB / 1.462 GB, free: 7.703 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.5727, allocations: 6.088 MB / 1.468 GB, free: 1.602 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03874/0.6114, allocations: 22.05 MB / 1.489 GB, free: 11.07 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.6145, allocations: 1.909 MB / 1.491 GB, free: 9.148 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00264/0.6171, allocations: 1.744 MB / 1.493 GB, free: 7.402 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.6172, allocations: 18 kB / 1.493 GB, free: 7.387 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.907e-05/0.6173, allocations: 60.5 kB / 1.493 GB, free: 7.316 MB / 1.186 GB Notification: Performance of pre-optimization done (n=171): time 3.998e-06/0.6173, allocations: 0 / 1.493 GB, free: 7.316 MB / 1.186 GB Notification: Performance of matching and sorting (n=276): time 0.1474/0.7647, allocations: 38.7 MB / 1.531 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.7648, allocations: 81.58 kB / 1.531 GB, free: 484 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003706/0.7685, allocations: 2.282 MB / 1.533 GB, free: 14.18 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004286/0.769, allocations: 69.7 kB / 1.533 GB, free: 14.1 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.7708, allocations: 2.338 MB / 1.535 GB, free: 11.74 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.7719, allocations: 0.9798 MB / 1.536 GB, free: 10.75 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.7729, allocations: 0.5102 MB / 1.537 GB, free: 10.23 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7731, allocations: 309.1 kB / 1.537 GB, free: 9.93 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/0.7761, allocations: 1.973 MB / 1.539 GB, free: 7.953 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/0.7797, allocations: 2.602 MB / 1.541 GB, free: 5.109 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00725/0.787, allocations: 4.933 MB / 1.546 GB, free: 15.9 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.787, allocations: 4 kB / 1.546 GB, free: 15.9 MB / 1.248 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01523/0.8022, allocations: 7.654 MB / 1.554 GB, free: 8.176 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.8022, allocations: 12 kB / 1.554 GB, free: 8.164 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.8023, allocations: 16 kB / 1.554 GB, free: 8.148 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0097/0.812, allocations: 3.208 MB / 1.557 GB, free: 4.922 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.8137, allocations: 399.3 kB / 1.557 GB, free: 4.531 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04773/0.8614, allocations: 32.77 MB / 1.589 GB, free: 3.066 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/0.8643, allocations: 163.8 kB / 1.589 GB, free: 2.906 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004294/0.8647, allocations: 108 kB / 1.59 GB, free: 2.801 MB / 1.279 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.003356/0.8681, allocations: 1.797 MB / 1.591 GB, free: 0.9922 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008081/0.8689, allocations: 349.8 kB / 1.592 GB, free: 0.6445 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/0.8834, allocations: 7.232 MB / 1.599 GB, free: 9.332 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/0.8834, allocations: 28 kB / 1.599 GB, free: 9.305 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.85e-05/0.8835, allocations: 31.94 kB / 1.599 GB, free: 9.273 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.048e-05/0.8835, allocations: 15.94 kB / 1.599 GB, free: 9.258 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6361/1.52, allocations: 12.14 MB / 1.611 GB, free: 238 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.893e-05/1.52, allocations: 6.344 kB / 1.611 GB, free: 238 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.521, allocations: 231.2 kB / 1.611 GB, free: 238 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008843/1.53, allocations: 2.846 MB / 1.614 GB, free: 238 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004152/1.53, allocations: 48.62 kB / 1.614 GB, free: 238 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03975/1.57, allocations: 31.54 MB / 1.645 GB, free: 221.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/1.57, allocations: 10.81 kB / 1.645 GB, free: 221.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.581, allocations: 6.785 MB / 1.651 GB, free: 218.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/1.583, allocations: 0.7259 MB / 1.652 GB, free: 218.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006348/1.583, allocations: 58.53 kB / 1.652 GB, free: 218.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.585, allocations: 172.9 kB / 1.652 GB, free: 218.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009177/1.586, allocations: 267.6 kB / 1.652 GB, free: 218.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.586, allocations: 75.03 kB / 1.652 GB, free: 218.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001723/1.588, allocations: 1.521 MB / 1.654 GB, free: 218 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.588, allocations: 0 / 1.654 GB, free: 218 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003672/1.592, allocations: 1.369 MB / 1.655 GB, free: 217.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 (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.01022/1.602, allocations: 7.418 MB / 1.662 GB, free: 214.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009287/1.611, allocations: 6.562 MB / 1.669 GB, free: 211.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/1.611, allocations: 7.094 kB / 1.669 GB, free: 211.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006372/1.617, allocations: 4.255 MB / 1.673 GB, free: 209.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004181/1.622, allocations: 1.116 MB / 1.674 GB, free: 208.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05138/1.673, allocations: 39.06 MB / 1.712 GB, free: 168.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003386/1.676, allocations: 3.108 MB / 1.715 GB, free: 165.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001692/1.678, allocations: 0.5634 MB / 1.716 GB, free: 165.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/1.68, allocations: 1.973 MB / 1.718 GB, free: 163.2 MB / 1.295 GB Notification: Performance of SimCode: time 9.71e-07/1.68, allocations: 0 / 1.718 GB, free: 163.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1531/1.833, allocations: 119.6 MB / 1.835 GB, free: 45.09 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.02/19.86, allocations: 8 kB / 1.835 GB, free: 45.08 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 27.581321904086508]