Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001792/0.001792, allocations: 103 kB / 16.45 MB, free: 6.449 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.002074/0.002074, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.431/1.431, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.141/3.141, allocations: 0.49 GB / 0.7916 GB, free: 33.25 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_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.002092/0.002092, allocations: 72.23 kB / 1.149 GB, free: 26.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.342, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02658/0.3686, allocations: 20.59 MB / 1.341 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.3806, allocations: 6.566 MB / 1.347 GB, free: 8.078 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.3832, allocations: 115.1 kB / 1.347 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006511/0.3897, allocations: 2.282 MB / 1.35 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.3935, allocations: 1.248 MB / 1.351 GB, free: 4.426 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003771/0.3973, allocations: 1.28 MB / 1.352 GB, free: 3.145 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006135/0.4034, allocations: 4.842 MB / 1.357 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00587/0.4093, allocations: 4.233 MB / 1.361 GB, free: 9.988 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.4134, allocations: 2.146 MB / 1.363 GB, free: 7.836 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004385/0.4178, allocations: 2.481 MB / 1.366 GB, free: 5.348 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009954/0.4188, allocations: 428 kB / 1.366 GB, free: 4.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.4211, allocations: 1.022 MB / 1.367 GB, free: 3.906 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002079/0.4232, allocations: 1.715 MB / 1.369 GB, free: 2.188 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002779/0.426, allocations: 1.902 MB / 1.37 GB, free: 284 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009619/0.4356, allocations: 6.541 MB / 1.377 GB, free: 9.715 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4356, allocations: 0 / 1.377 GB, free: 9.715 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.717e-06/0.4356, allocations: 3.984 kB / 1.377 GB, free: 9.711 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002078/0.4358, allocations: 4 kB / 1.377 GB, free: 9.707 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01017/0.446, allocations: 3.533 MB / 1.38 GB, free: 6.105 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 8.387e-05/0.446, allocations: 15.98 kB / 1.38 GB, free: 6.09 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001406/0.4474, allocations: 454.6 kB / 1.381 GB, free: 5.633 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.4517, allocations: 0.6467 MB / 1.381 GB, free: 4.984 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004631/0.4563, allocations: 2.058 MB / 1.383 GB, free: 2.867 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.4565, allocations: 222.3 kB / 1.384 GB, free: 2.648 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006849/0.4572, allocations: 300 kB / 1.384 GB, free: 2.355 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00906/0.4662, allocations: 4.886 MB / 1.389 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.917e-05/0.4663, allocations: 15.88 kB / 1.389 GB, free: 13.25 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003275/0.4666, allocations: 131.9 kB / 1.389 GB, free: 13.12 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000474/0.4671, allocations: 229.7 kB / 1.389 GB, free: 12.89 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006753/0.4739, allocations: 3.746 MB / 1.393 GB, free: 9.137 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02585/0.4997, allocations: 21.45 MB / 1.414 GB, free: 1.695 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.5016, allocations: 1.23 MB / 1.415 GB, free: 464 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.503, allocations: 0.9869 MB / 1.416 GB, free: 15.46 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-05/0.5031, allocations: 16.98 kB / 1.416 GB, free: 15.45 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.5032, allocations: 47.5 kB / 1.416 GB, free: 15.39 MB / 1.123 GB Notification: Performance of pre-optimization done (n=107): time 5e-06/0.5032, allocations: 4 kB / 1.416 GB, free: 15.39 MB / 1.123 GB Notification: Performance of matching and sorting (n=138): time 0.02557/0.5287, allocations: 8.649 MB / 1.424 GB, free: 6.688 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.5288, allocations: 72.7 kB / 1.424 GB, free: 6.605 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.5304, allocations: 1.134 MB / 1.425 GB, free: 5.465 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.5306, allocations: 45.7 kB / 1.426 GB, free: 5.414 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009567/0.5315, allocations: 1.335 MB / 1.427 GB, free: 4.066 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004954/0.532, allocations: 0.4957 MB / 1.427 GB, free: 3.566 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004917/0.5325, allocations: 295.4 kB / 1.428 GB, free: 3.27 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5327, allocations: 305.1 kB / 1.428 GB, free: 2.969 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.534, allocations: 0.9135 MB / 1.429 GB, free: 2.055 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.5357, allocations: 1.33 MB / 1.43 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.5389, allocations: 2.434 MB / 1.432 GB, free: 13.95 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.5389, allocations: 4 kB / 1.432 GB, free: 13.94 MB / 1.139 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00631/0.5452, allocations: 3.418 MB / 1.436 GB, free: 10.5 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.5453, allocations: 15.94 kB / 1.436 GB, free: 10.49 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.5453, allocations: 15.98 kB / 1.436 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003364/0.5487, allocations: 1.186 MB / 1.437 GB, free: 9.281 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009607/0.5496, allocations: 255.6 kB / 1.437 GB, free: 9.031 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/0.5682, allocations: 13.85 MB / 1.451 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.5695, allocations: 95.97 kB / 1.451 GB, free: 10.67 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.5697, allocations: 60 kB / 1.451 GB, free: 10.61 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001765/0.5714, allocations: 1.118 MB / 1.452 GB, free: 9.484 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.5717, allocations: 170.9 kB / 1.452 GB, free: 9.316 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005993/0.5777, allocations: 3.126 MB / 1.455 GB, free: 6.168 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5778, allocations: 16 kB / 1.455 GB, free: 6.152 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/0.5778, allocations: 15.94 kB / 1.455 GB, free: 6.137 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.5778, allocations: 7.969 kB / 1.455 GB, free: 6.129 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.5882, allocations: 6.206 MB / 1.461 GB, free: 15.78 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.5882, allocations: 4 kB / 1.461 GB, free: 15.78 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005986/0.5888, allocations: 148.3 kB / 1.461 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/0.5918, allocations: 1.072 MB / 1.463 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.5919, allocations: 28 kB / 1.463 GB, free: 14.53 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/0.6102, allocations: 13.55 MB / 1.476 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.6102, allocations: 4 kB / 1.476 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005727/0.6159, allocations: 3.12 MB / 1.479 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009271/0.6168, allocations: 439.8 kB / 1.479 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.6171, allocations: 28 kB / 1.479 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008695/0.618, allocations: 87.89 kB / 1.479 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003949/0.6184, allocations: 120.7 kB / 1.479 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.141e-05/0.6184, allocations: 36 kB / 1.479 GB, free: 12.64 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001136/0.6196, allocations: 0.7671 MB / 1.48 GB, free: 11.87 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6196, allocations: 0 / 1.48 GB, free: 11.87 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002108/0.6217, allocations: 0.6641 MB / 1.481 GB, free: 11.2 MB / 1.186 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005872/0.6276, allocations: 3.708 MB / 1.485 GB, free: 7.406 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005269/0.6328, allocations: 3.014 MB / 1.487 GB, free: 4.352 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.6328, allocations: 0 / 1.487 GB, free: 4.352 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003354/0.6362, allocations: 1.876 MB / 1.489 GB, free: 2.441 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/0.6387, allocations: 0.4974 MB / 1.49 GB, free: 1.957 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/0.6742, allocations: 19.12 MB / 1.508 GB, free: 14.25 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003673/0.6779, allocations: 2.336 MB / 1.511 GB, free: 11.88 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001446/0.6793, allocations: 350.1 kB / 1.511 GB, free: 11.53 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/0.6809, allocations: 1.011 MB / 1.512 GB, free: 10.52 MB / 1.217 GB Notification: Performance of SimCode: time 1.643e-06/0.6809, allocations: 0 / 1.512 GB, free: 10.52 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/0.7924, allocations: 52.68 MB / 1.563 GB, free: 6.512 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.31, allocations: 1.5 kB / 1.563 GB, free: 6.512 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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: 20.193517758976668]