Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001296/0.001296, allocations: 103.8 kB / 18.95 MB, free: 2.691 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.001529/0.001529, allocations: 217.8 kB / 22.25 MB, free: 5.238 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.805 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.167/3.167, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.002014/0.002014, allocations: 70.8 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3024, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04216/0.3446, allocations: 33.77 MB / 1.359 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01932/0.3639, allocations: 11.55 MB / 1.37 GB, free: 4.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.3665, allocations: 210.4 kB / 1.37 GB, free: 3.863 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.3777, allocations: 4.26 MB / 1.374 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005812/0.3835, allocations: 2.088 MB / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005958/0.3895, allocations: 2.415 MB / 1.379 GB, free: 11.08 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.3995, allocations: 8.461 MB / 1.387 GB, free: 2.594 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009248/0.4087, allocations: 6.22 MB / 1.393 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005865/0.4146, allocations: 3.876 MB / 1.397 GB, free: 8.363 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007396/0.422, allocations: 4.432 MB / 1.401 GB, free: 3.918 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001803/0.4238, allocations: 0.7812 MB / 1.402 GB, free: 3.137 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.428, allocations: 1.903 MB / 1.404 GB, free: 1.23 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003644/0.4317, allocations: 3.145 MB / 1.407 GB, free: 14.08 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004494/0.4362, allocations: 2.743 MB / 1.41 GB, free: 11.32 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.4487, allocations: 12.07 MB / 1.421 GB, free: 15.22 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4487, allocations: 0 / 1.421 GB, free: 15.22 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4487, allocations: 0 / 1.421 GB, free: 15.22 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002219/0.4489, allocations: 0 / 1.421 GB, free: 15.22 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01185/0.4608, allocations: 5.863 MB / 1.427 GB, free: 9.293 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4608, allocations: 12.03 kB / 1.427 GB, free: 9.281 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0014/0.4622, allocations: 0.8167 MB / 1.428 GB, free: 8.453 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005911/0.4682, allocations: 1.086 MB / 1.429 GB, free: 7.363 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008332/0.4765, allocations: 3.411 MB / 1.432 GB, free: 3.883 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/0.4769, allocations: 415.5 kB / 1.433 GB, free: 3.477 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.4784, allocations: 0.5432 MB / 1.433 GB, free: 2.934 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.4952, allocations: 9.376 MB / 1.442 GB, free: 9.164 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/0.4953, allocations: 31.77 kB / 1.443 GB, free: 9.133 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005794/0.4959, allocations: 240 kB / 1.443 GB, free: 8.898 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000378/0.4963, allocations: 346.8 kB / 1.443 GB, free: 8.559 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/0.5084, allocations: 6.822 MB / 1.45 GB, free: 1.727 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03589/0.5443, allocations: 25.13 MB / 1.474 GB, free: 7.973 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/0.5478, allocations: 2.296 MB / 1.477 GB, free: 5.68 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.5504, allocations: 1.771 MB / 1.478 GB, free: 3.914 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.768e-05/0.5505, allocations: 18 kB / 1.478 GB, free: 3.895 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.5505, allocations: 52.56 kB / 1.478 GB, free: 3.836 MB / 1.17 GB Notification: Performance of pre-optimization done (n=179): time 4.078e-06/0.5505, allocations: 4 kB / 1.478 GB, free: 3.832 MB / 1.17 GB Notification: Performance of matching and sorting (n=182): time 0.02495/0.5755, allocations: 9.69 MB / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.5755, allocations: 73.41 kB / 1.488 GB, free: 10.04 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.5776, allocations: 1.561 MB / 1.489 GB, free: 8.434 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.5777, allocations: 57.7 kB / 1.489 GB, free: 8.371 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.5794, allocations: 2.324 MB / 1.492 GB, free: 6.023 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006309/0.58, allocations: 0.6623 MB / 1.492 GB, free: 5.355 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006543/0.5807, allocations: 404.2 kB / 1.493 GB, free: 4.953 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5808, allocations: 305.1 kB / 1.493 GB, free: 4.652 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.5825, allocations: 1.187 MB / 1.494 GB, free: 3.461 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.5848, allocations: 1.877 MB / 1.496 GB, free: 1.266 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/0.5892, allocations: 3.371 MB / 1.499 GB, free: 13.58 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/0.5892, allocations: 8 kB / 1.499 GB, free: 13.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007935/0.5971, allocations: 4.535 MB / 1.504 GB, free: 9.012 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.5972, allocations: 22.12 kB / 1.504 GB, free: 8.992 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.5972, allocations: 24 kB / 1.504 GB, free: 8.969 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/0.6012, allocations: 1.581 MB / 1.505 GB, free: 7.379 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.6024, allocations: 351.3 kB / 1.506 GB, free: 7.035 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02413/0.6265, allocations: 17.95 MB / 1.523 GB, free: 4.629 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.6281, allocations: 119.9 kB / 1.523 GB, free: 4.512 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.6283, allocations: 92 kB / 1.523 GB, free: 4.422 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002824/0.6311, allocations: 1.898 MB / 1.525 GB, free: 2.512 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/0.6315, allocations: 234.5 kB / 1.525 GB, free: 2.281 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007237/0.6388, allocations: 4.039 MB / 1.529 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.6388, allocations: 27.98 kB / 1.529 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/0.6388, allocations: 16 kB / 1.529 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.6388, allocations: 11.91 kB / 1.529 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.6548, allocations: 8.662 MB / 1.538 GB, free: 5.352 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.6548, allocations: 4 kB / 1.538 GB, free: 5.348 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008288/0.6556, allocations: 179.7 kB / 1.538 GB, free: 5.172 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003687/0.6593, allocations: 1.351 MB / 1.539 GB, free: 3.812 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.6594, allocations: 36 kB / 1.539 GB, free: 3.777 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02233/0.6817, allocations: 16.72 MB / 1.556 GB, free: 2.598 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/0.6817, allocations: 11.94 kB / 1.556 GB, free: 2.586 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007222/0.689, allocations: 4.036 MB / 1.56 GB, free: 14.46 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/0.6904, allocations: 474.4 kB / 1.56 GB, free: 14 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.6907, allocations: 43.88 kB / 1.56 GB, free: 13.95 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009135/0.6916, allocations: 87.89 kB / 1.56 GB, free: 13.87 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004696/0.6921, allocations: 173.5 kB / 1.561 GB, free: 13.7 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.6922, allocations: 44.5 kB / 1.561 GB, free: 13.65 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001454/0.6937, allocations: 1.005 MB / 1.562 GB, free: 12.62 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6937, allocations: 0 / 1.562 GB, free: 12.62 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002967/0.6966, allocations: 0.9922 MB / 1.563 GB, free: 11.63 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007226/0.7038, allocations: 4.641 MB / 1.567 GB, free: 6.891 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007076/0.7109, allocations: 4.159 MB / 1.571 GB, free: 2.68 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.7109, allocations: 0 / 1.571 GB, free: 2.68 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004434/0.7154, allocations: 2.588 MB / 1.574 GB, free: 48 kB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/0.7186, allocations: 0.7953 MB / 1.574 GB, free: 15.28 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0431/0.7617, allocations: 26.99 MB / 1.601 GB, free: 3.199 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004407/0.7661, allocations: 3.035 MB / 1.604 GB, free: 124 kB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.5442/1.31, allocations: 464.9 kB / 1.604 GB, free: 255.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/1.312, allocations: 1.79 MB / 1.606 GB, free: 255.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.132e-06/1.312, allocations: 0 / 1.606 GB, free: 255.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/1.437, allocations: 79.51 MB / 1.684 GB, free: 207.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/15.11, allocations: 17.38 kB / 1.684 GB, free: 207.6 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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: 22.141366741998354]