Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=5000,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 105.6 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 194 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.548/2.548, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001848, allocations: 64.7 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3205, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007357/0.328, allocations: 5.553 MB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004372/0.3324, allocations: 2.627 MB / 1.072 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.3328, allocations: 19.88 kB / 1.072 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.3345, allocations: 0.65 MB / 1.073 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.3356, allocations: 378.2 kB / 1.073 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.3366, allocations: 372.9 kB / 1.074 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.3377, allocations: 0.9552 MB / 1.074 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/0.3385, allocations: 0.5105 MB / 1.075 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.339, allocations: 374.5 kB / 1.075 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000528/0.3395, allocations: 422.4 kB / 1.076 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.3396, allocations: 48 kB / 1.076 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006141/0.3402, allocations: 363.2 kB / 1.076 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.3405, allocations: 251.3 kB / 1.076 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.3408, allocations: 346.3 kB / 1.077 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008123/0.3416, allocations: 0.7559 MB / 1.077 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3417, allocations: 0 / 1.077 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3417, allocations: 4 kB / 1.077 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.3417, allocations: 0 / 1.077 GB, free: 1.496 MB / 0.8419 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.001686/0.3434, allocations: 0.9815 MB / 1.078 GB, free: 472 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3434, allocations: 8.031 kB / 1.078 GB, free: 464 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.3448, allocations: 191.9 kB / 1.079 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5015/0.8463, allocations: 0.4906 MB / 1.079 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.8464, allocations: 34.97 kB / 1.079 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.8466, allocations: 53.72 kB / 1.079 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.8479, allocations: 0.8259 MB / 1.08 GB, free: 22.03 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.848, allocations: 3.531 kB / 1.08 GB, free: 22.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.848, allocations: 27.81 kB / 1.08 GB, free: 22.03 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002228/0.8483, allocations: 73.33 kB / 1.08 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000899/0.8492, allocations: 0.5691 MB / 1.081 GB, free: 21.92 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.8528, allocations: 4.581 MB / 1.085 GB, free: 18.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.8532, allocations: 294.5 kB / 1.085 GB, free: 17.99 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.8535, allocations: 223.3 kB / 1.086 GB, free: 17.9 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.8536, allocations: 12.28 kB / 1.086 GB, free: 17.89 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.8536, allocations: 41.42 kB / 1.086 GB, free: 17.85 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.8536, allocations: 0 / 1.086 GB, free: 17.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005295/0.8589, allocations: 2.639 MB / 1.088 GB, free: 16.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.8589, allocations: 56.33 kB / 1.088 GB, free: 16.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.8594, allocations: 461.5 kB / 1.089 GB, free: 16.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.8595, allocations: 32.3 kB / 1.089 GB, free: 16.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.8597, allocations: 341.6 kB / 1.089 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.8597, allocations: 147.9 kB / 1.089 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.8599, allocations: 101 kB / 1.089 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.86, allocations: 368.8 kB / 1.09 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.8603, allocations: 241.8 kB / 1.09 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.8607, allocations: 408.6 kB / 1.09 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007632/0.8615, allocations: 0.6773 MB / 1.091 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.8615, allocations: 1.344 kB / 1.091 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001611/0.8631, allocations: 0.9245 MB / 1.092 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.8632, allocations: 8.062 kB / 1.092 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.8632, allocations: 5.781 kB / 1.092 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/0.864, allocations: 221.9 kB / 1.092 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.8645, allocations: 116.3 kB / 1.092 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/0.8689, allocations: 5.344 MB / 1.097 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.8694, allocations: 29.58 kB / 1.097 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.8694, allocations: 23.7 kB / 1.097 GB, free: 9.406 MB / 0.8419 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.0002895/0.8697, allocations: 230.1 kB / 1.098 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.8698, allocations: 55.81 kB / 1.098 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.8713, allocations: 0.7746 MB / 1.098 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.8714, allocations: 4.469 kB / 1.098 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8714, allocations: 6 kB / 1.098 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.8714, allocations: 3.281 kB / 1.098 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.8742, allocations: 1.509 MB / 1.1 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.8742, allocations: 6.969 kB / 1.1 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.8746, allocations: 66.22 kB / 1.1 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006954/0.8753, allocations: 206.6 kB / 1.1 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.8754, allocations: 13.97 kB / 1.1 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004113/0.8795, allocations: 5.266 MB / 1.105 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8795, allocations: 2.5 kB / 1.105 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.8812, allocations: 1.141 MB / 1.106 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.8815, allocations: 170.2 kB / 1.107 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-05/0.8815, allocations: 10.84 kB / 1.107 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.8819, allocations: 26.92 kB / 1.107 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.882, allocations: 39.47 kB / 1.107 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.882, allocations: 10.53 kB / 1.107 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000365/0.8824, allocations: 314.8 kB / 1.107 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8824, allocations: 64 / 1.107 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007356/0.8831, allocations: 174.7 kB / 1.107 GB, free: 2.453 MB / 0.8419 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.0001436/0.8833, allocations: 111.7 kB / 1.107 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.8849, allocations: 1.057 MB / 1.108 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.8849, allocations: 1.125 kB / 1.108 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/0.8858, allocations: 0.6812 MB / 1.109 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008654/0.8867, allocations: 181.7 kB / 1.109 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.8888, allocations: 1.569 MB / 1.111 GB, free: 252 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/0.8895, allocations: 0.9542 MB / 1.112 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.8896, allocations: 40.95 kB / 1.112 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.8897, allocations: 1.344 kB / 1.112 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of Templates: time 0.02265/0.9123, allocations: 14.9 MB / 1.126 GB, free: 13.04 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches