Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001682/0.001682, allocations: 97.31 kB / 19.73 MB, free: 2.145 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.001996/0.001996, allocations: 220.4 kB / 23.03 MB, free: 4.953 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.138/3.138, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.002043/0.002043, allocations: 65.45 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3322, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00845/0.3407, allocations: 5.355 MB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005165/0.3458, allocations: 2.627 MB / 1.353 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.3464, allocations: 31.69 kB / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.3485, allocations: 0.6769 MB / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.3497, allocations: 429.7 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3508, allocations: 420.2 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.3522, allocations: 0.9555 MB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007685/0.353, allocations: 382.5 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008393/0.3538, allocations: 390.6 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008554/0.3547, allocations: 434.3 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.3548, allocations: 48 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008505/0.3557, allocations: 331.3 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.3561, allocations: 247.3 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.3566, allocations: 290.6 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.358, allocations: 0.9923 MB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.358, allocations: 0 / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.358, allocations: 0 / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.743e-05/0.358, allocations: 0 / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001944/0.36, allocations: 0.9208 MB / 1.359 GB, free: 1.395 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.36, allocations: 8.031 kB / 1.359 GB, free: 1.387 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.869e-05/0.3601, allocations: 17.19 kB / 1.359 GB, free: 1.371 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.3602, allocations: 102.7 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.3617, allocations: 200.2 kB / 1.36 GB, free: 1.066 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009394/0.3627, allocations: 472.9 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.3627, allocations: 37.31 kB / 1.36 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.3629, allocations: 60.28 kB / 1.36 GB, free: 492 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.3644, allocations: 0.9823 MB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.3644, allocations: 7.938 kB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/0.3644, allocations: 24 kB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002109/0.3647, allocations: 60.95 kB / 1.361 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009956/0.3657, allocations: 0.5774 MB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.3701, allocations: 3.573 MB / 1.365 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.3707, allocations: 275.3 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.371, allocations: 209.3 kB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.371, allocations: 8.266 kB / 1.366 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.371, allocations: 46.78 kB / 1.366 GB, free: 10.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.3711, allocations: 0 / 1.366 GB, free: 10.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.005867/0.3769, allocations: 2.338 MB / 1.368 GB, free: 8.066 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.377, allocations: 59.34 kB / 1.368 GB, free: 7.996 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.3775, allocations: 462.1 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.3776, allocations: 33.7 kB / 1.369 GB, free: 7.492 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.3778, allocations: 348.5 kB / 1.369 GB, free: 7.145 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.378, allocations: 154.7 kB / 1.369 GB, free: 6.992 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.3782, allocations: 106.2 kB / 1.369 GB, free: 6.879 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3784, allocations: 362.8 kB / 1.37 GB, free: 6.516 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.3787, allocations: 241.1 kB / 1.37 GB, free: 6.281 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.3793, allocations: 411.4 kB / 1.37 GB, free: 5.801 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/0.3802, allocations: 0.67 MB / 1.371 GB, free: 5.059 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3802, allocations: 0 / 1.371 GB, free: 5.059 MB / 1.061 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001831/0.382, allocations: 0.925 MB / 1.372 GB, free: 4.117 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3821, allocations: 8 kB / 1.372 GB, free: 4.109 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3821, allocations: 4 kB / 1.372 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008476/0.3829, allocations: 227 kB / 1.372 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.3835, allocations: 111.8 kB / 1.372 GB, free: 3.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005597/0.3891, allocations: 5.003 MB / 1.377 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.3895, allocations: 31.97 kB / 1.377 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.3896, allocations: 28.12 kB / 1.377 GB, free: 14.36 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003584/0.39, allocations: 221.6 kB / 1.377 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3901, allocations: 67.61 kB / 1.377 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.3917, allocations: 0.7582 MB / 1.378 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.3917, allocations: 7.984 kB / 1.378 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3917, allocations: 4 kB / 1.378 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3917, allocations: 0 / 1.378 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.3943, allocations: 1.396 MB / 1.379 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3943, allocations: 7.938 kB / 1.379 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.3947, allocations: 71.88 kB / 1.38 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007551/0.3955, allocations: 210.6 kB / 1.38 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.3955, allocations: 8 kB / 1.38 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005357/0.4009, allocations: 4.94 MB / 1.385 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4009, allocations: 3.938 kB / 1.385 GB, free: 6.219 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.4028, allocations: 1.135 MB / 1.386 GB, free: 5.035 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.403, allocations: 95.55 kB / 1.386 GB, free: 4.941 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-05/0.4031, allocations: 16 kB / 1.386 GB, free: 4.926 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.4034, allocations: 23.97 kB / 1.386 GB, free: 4.902 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.4035, allocations: 35.88 kB / 1.386 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.4036, allocations: 12 kB / 1.386 GB, free: 4.855 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003828/0.404, allocations: 318.9 kB / 1.386 GB, free: 4.547 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.404, allocations: 4.062 kB / 1.386 GB, free: 4.543 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007051/0.4047, allocations: 168 kB / 1.386 GB, free: 4.379 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002223/0.4069, allocations: 1.695 MB / 1.388 GB, free: 2.625 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.4086, allocations: 0.9657 MB / 1.389 GB, free: 1.621 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.4087, allocations: 0 / 1.389 GB, free: 1.621 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.4097, allocations: 0.6681 MB / 1.39 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009291/0.4106, allocations: 186.6 kB / 1.39 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008591/0.4192, allocations: 5.644 MB / 1.395 GB, free: 10.82 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.4196, allocations: 350.3 kB / 1.396 GB, free: 10.45 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00037/0.42, allocations: 117 kB / 1.396 GB, free: 10.34 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.4203, allocations: 207.4 kB / 1.396 GB, free: 10.13 MB / 1.092 GB Notification: Performance of SimCode: time 1.152e-06/0.4203, allocations: 0 / 1.396 GB, free: 10.13 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05151/0.4718, allocations: 15.51 MB / 1.411 GB, free: 11 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.13, allocations: 4 kB / 1.411 GB, free: 10.99 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: 19.89708972501103]