Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001541/0.001541, allocations: 110.4 kB / 16.41 MB, free: 6.465 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.001791/0.001791, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.625/1.625, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 71.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.068, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008873/1.077, allocations: 5.549 MB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005602/1.083, allocations: 2.646 MB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008577/1.084, allocations: 23.88 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002158/1.086, allocations: 0.6828 MB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/1.088, allocations: 425.8 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/1.089, allocations: 408.2 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001865/1.091, allocations: 0.9552 MB / 1.178 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009852/1.092, allocations: 466.3 kB / 1.178 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009877/1.093, allocations: 382.5 kB / 1.179 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000947/1.094, allocations: 406.4 kB / 1.179 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/1.094, allocations: 48 kB / 1.179 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/1.095, allocations: 363.2 kB / 1.179 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003996/1.096, allocations: 251.3 kB / 1.18 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006636/1.096, allocations: 342.3 kB / 1.18 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/1.098, allocations: 0.979 MB / 1.181 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.098, allocations: 8 kB / 1.181 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.884e-06/1.098, allocations: 0 / 1.181 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.792e-05/1.098, allocations: 0 / 1.181 GB, free: 5.906 MB / 0.9044 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.002544/1.101, allocations: 0.9736 MB / 1.182 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.101, allocations: 12.91 kB / 1.182 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/1.103, allocations: 199.9 kB / 1.182 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/1.104, allocations: 0.5258 MB / 1.183 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/1.104, allocations: 33.38 kB / 1.183 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/1.104, allocations: 60.44 kB / 1.183 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/1.105, allocations: 0.8318 MB / 1.183 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/1.105, allocations: 4 kB / 1.183 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/1.105, allocations: 27.92 kB / 1.183 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002092/1.106, allocations: 64.95 kB / 1.184 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009785/1.107, allocations: 0.5658 MB / 1.184 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005058/1.112, allocations: 4.581 MB / 1.189 GB, free: 13.51 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/1.112, allocations: 291.3 kB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/1.112, allocations: 229.2 kB / 1.189 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/1.112, allocations: 8.266 kB / 1.189 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/1.113, allocations: 30.84 kB / 1.189 GB, free: 12.94 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 3.387e-06/1.113, allocations: 8 kB / 1.189 GB, free: 12.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.005789/1.118, allocations: 2.631 MB / 1.192 GB, free: 10.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/1.118, allocations: 55.41 kB / 1.192 GB, free: 10.11 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/1.119, allocations: 462 kB / 1.192 GB, free: 9.645 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/1.119, allocations: 33.7 kB / 1.192 GB, free: 9.605 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/1.119, allocations: 343.6 kB / 1.192 GB, free: 9.266 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/1.119, allocations: 142 kB / 1.193 GB, free: 9.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.12, allocations: 110.2 kB / 1.193 GB, free: 9.012 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.12, allocations: 362.7 kB / 1.193 GB, free: 8.648 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/1.12, allocations: 237 kB / 1.193 GB, free: 8.418 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/1.121, allocations: 410.4 kB / 1.194 GB, free: 7.941 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/1.122, allocations: 0.674 MB / 1.194 GB, free: 7.195 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.122, allocations: 0 / 1.194 GB, free: 7.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001728/1.123, allocations: 0.9248 MB / 1.195 GB, free: 6.254 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.123, allocations: 8 kB / 1.195 GB, free: 6.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.123, allocations: 4 kB / 1.195 GB, free: 6.242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008021/1.124, allocations: 222.9 kB / 1.195 GB, free: 6.016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/1.125, allocations: 115.8 kB / 1.196 GB, free: 5.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005476/1.13, allocations: 5.34 MB / 1.201 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005628/1.131, allocations: 35.91 kB / 1.201 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/1.131, allocations: 24.19 kB / 1.201 GB, free: 88 kB / 0.92 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.0004222/1.131, allocations: 229.7 kB / 1.201 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.131, allocations: 59.28 kB / 1.201 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/1.133, allocations: 0.7811 MB / 1.202 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.133, allocations: 0 / 1.202 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.133, allocations: 0 / 1.202 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/1.133, allocations: 168.4 kB / 1.202 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.134, allocations: 12 kB / 1.202 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/1.134, allocations: 23.97 kB / 1.202 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/1.134, allocations: 35.94 kB / 1.202 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001975/1.136, allocations: 0.8655 MB / 1.203 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00116/1.137, allocations: 0.9607 MB / 1.204 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003215/1.137, allocations: 235.8 kB / 1.204 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003589/1.138, allocations: 314.9 kB / 1.204 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of Backend: time 1.914e-06/1.138, allocations: 8 kB / 1.204 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002296/1.14, allocations: 1.059 MB / 1.205 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002689/1.143, allocations: 1.792 MB / 1.207 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of Templates: time 0.02123/1.164, allocations: 11.1 MB / 1.218 GB, free: 14.42 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches