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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 192.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.069/3.069, allocations: 0.4893 GB / 0.7884 GB, free: 33.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 72.67 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3227, allocations: 174.8 MB / 1.316 GB, free: 9.727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008221/0.3309, allocations: 5.744 MB / 1.322 GB, free: 3.957 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005035/0.3359, allocations: 2.751 MB / 1.324 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.3364, allocations: 31.69 kB / 1.324 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.3384, allocations: 0.7103 MB / 1.325 GB, free: 464 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.3394, allocations: 425.7 kB / 1.325 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3404, allocations: 419 kB / 1.326 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.3416, allocations: 0.9632 MB / 1.327 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005716/0.3422, allocations: 334.9 kB / 1.327 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005073/0.3427, allocations: 386.6 kB / 1.327 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005806/0.3433, allocations: 430.3 kB / 1.328 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.567e-05/0.3434, allocations: 48 kB / 1.328 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000723/0.3441, allocations: 371.2 kB / 1.328 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.3444, allocations: 255.2 kB / 1.329 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.3447, allocations: 354.2 kB / 1.329 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.3459, allocations: 0.9728 MB / 1.33 GB, free: 11.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3459, allocations: 0 / 1.33 GB, free: 11.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3459, allocations: 3.938 kB / 1.33 GB, free: 11.53 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.3459, allocations: 0 / 1.33 GB, free: 11.53 MB / 1.029 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.001649/0.3475, allocations: 0.9248 MB / 1.331 GB, free: 10.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3476, allocations: 8.031 kB / 1.331 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.349, allocations: 196.2 kB / 1.331 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008776/0.3499, allocations: 472.9 kB / 1.331 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.3499, allocations: 37.38 kB / 1.331 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.3501, allocations: 60.48 kB / 1.331 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.3513, allocations: 0.8365 MB / 1.332 GB, free: 8.875 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.3513, allocations: 3.953 kB / 1.332 GB, free: 8.871 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.694e-05/0.3514, allocations: 20 kB / 1.332 GB, free: 8.852 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/0.3516, allocations: 72.88 kB / 1.332 GB, free: 8.781 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.3525, allocations: 0.5735 MB / 1.333 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00482/0.3573, allocations: 4.501 MB / 1.337 GB, free: 3.367 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.3578, allocations: 278.3 kB / 1.338 GB, free: 3.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.3581, allocations: 209.9 kB / 1.338 GB, free: 2.883 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3582, allocations: 4.281 kB / 1.338 GB, free: 2.879 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.3582, allocations: 38.84 kB / 1.338 GB, free: 2.832 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.3582, allocations: 0 / 1.338 GB, free: 2.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.005685/0.3639, allocations: 2.331 MB / 1.34 GB, free: 460 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.364, allocations: 55.41 kB / 1.34 GB, free: 392 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.3645, allocations: 469.9 kB / 1.341 GB, free: 15.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.3646, allocations: 37.7 kB / 1.341 GB, free: 15.87 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.3648, allocations: 352.5 kB / 1.341 GB, free: 15.52 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.3649, allocations: 150.7 kB / 1.341 GB, free: 15.37 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.3651, allocations: 106.3 kB / 1.341 GB, free: 15.26 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3653, allocations: 362.8 kB / 1.342 GB, free: 14.9 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.3657, allocations: 237.2 kB / 1.342 GB, free: 14.67 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.3662, allocations: 403.4 kB / 1.342 GB, free: 14.2 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000957/0.3672, allocations: 0.6778 MB / 1.343 GB, free: 13.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3672, allocations: 0 / 1.343 GB, free: 13.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001792/0.369, allocations: 0.921 MB / 1.344 GB, free: 12.51 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.369, allocations: 8 kB / 1.344 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.369, allocations: 11.94 kB / 1.344 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008128/0.3698, allocations: 223 kB / 1.344 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.3703, allocations: 119.8 kB / 1.344 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005597/0.3759, allocations: 5.034 MB / 1.349 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.3765, allocations: 36.03 kB / 1.349 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.3766, allocations: 24 kB / 1.349 GB, free: 6.711 MB / 1.045 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.0004218/0.377, allocations: 225.6 kB / 1.349 GB, free: 6.48 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.3771, allocations: 63.61 kB / 1.349 GB, free: 6.418 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.3788, allocations: 0.7657 MB / 1.35 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3788, allocations: 7.938 kB / 1.35 GB, free: 5.625 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3788, allocations: 4 kB / 1.35 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3788, allocations: 0 / 1.35 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.3816, allocations: 1.463 MB / 1.352 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3816, allocations: 4 kB / 1.352 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.382, allocations: 63.94 kB / 1.352 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007028/0.3827, allocations: 206.5 kB / 1.352 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.3827, allocations: 12 kB / 1.352 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005264/0.388, allocations: 4.971 MB / 1.357 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.388, allocations: 3.938 kB / 1.357 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.3899, allocations: 1.143 MB / 1.358 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.3902, allocations: 87.62 kB / 1.358 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/0.3903, allocations: 19.94 kB / 1.358 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.3906, allocations: 19.97 kB / 1.358 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.3907, allocations: 36 kB / 1.358 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.3907, allocations: 16 kB / 1.358 GB, free: 13.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000405/0.3911, allocations: 314.9 kB / 1.358 GB, free: 12.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3911, allocations: 4 kB / 1.358 GB, free: 12.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006988/0.3918, allocations: 164 kB / 1.358 GB, free: 12.63 MB / 1.061 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.0001714/0.392, allocations: 111.7 kB / 1.359 GB, free: 12.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.3937, allocations: 0.9767 MB / 1.359 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3937, allocations: 0 / 1.359 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.3947, allocations: 0.6642 MB / 1.36 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008582/0.3955, allocations: 188.1 kB / 1.36 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.3976, allocations: 1.27 MB / 1.362 GB, free: 9.297 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.3982, allocations: 0.9532 MB / 1.362 GB, free: 8.316 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003166/0.3985, allocations: 109 kB / 1.363 GB, free: 8.211 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.3986, allocations: 43.38 kB / 1.363 GB, free: 8.168 MB / 1.061 GB Notification: Performance of SimCode: time 3.6e-07/0.3986, allocations: 4 kB / 1.363 GB, free: 8.164 MB / 1.061 GB Notification: Performance of Templates: time 0.01733/0.416, allocations: 9.39 MB / 1.372 GB, free: 14.89 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] 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/jenkins/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: 8.83428839314729]