Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.OnePhase.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_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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_9_Buildings.Electrical.AC.OnePhase.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.002043/0.002043, allocations: 119 kB / 16.42 MB, free: 6.473 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.002263/0.002263, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9951/0.9965, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007849/1.004, allocations: 5.464 MB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004813/1.009, allocations: 2.622 MB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/1.01, allocations: 25.03 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00234/1.012, allocations: 0.6747 MB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/1.014, allocations: 424.9 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/1.015, allocations: 391.6 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001753/1.017, allocations: 0.9544 MB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009052/1.018, allocations: 475.7 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008372/1.019, allocations: 372.5 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008289/1.02, allocations: 400.3 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001701/1.02, allocations: 48.03 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009397/1.021, allocations: 363.3 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004136/1.021, allocations: 255.7 kB / 1.101 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006953/1.022, allocations: 345.8 kB / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/1.024, allocations: 0.9686 MB / 1.102 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/1.024, allocations: 0 / 1.102 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.366e-06/1.024, allocations: 0 / 1.102 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.025e-05/1.024, allocations: 3.938 kB / 1.102 GB, free: 13.45 MB / 0.8731 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.002382/1.026, allocations: 0.972 MB / 1.103 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.026, allocations: 8.219 kB / 1.103 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/1.028, allocations: 190.3 kB / 1.103 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/1.029, allocations: 0.52 MB / 1.104 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/1.029, allocations: 37.59 kB / 1.104 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/1.03, allocations: 56.62 kB / 1.104 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/1.031, allocations: 0.8343 MB / 1.105 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/1.031, allocations: 3.188 kB / 1.105 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/1.031, allocations: 24.22 kB / 1.105 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/1.031, allocations: 62.95 kB / 1.105 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/1.032, allocations: 0.5732 MB / 1.105 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/1.038, allocations: 4.578 MB / 1.11 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/1.038, allocations: 293.4 kB / 1.11 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/1.039, allocations: 230.3 kB / 1.11 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/1.039, allocations: 4.344 kB / 1.11 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/1.039, allocations: 41.8 kB / 1.11 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/1.039, allocations: 0 / 1.11 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.006396/1.045, allocations: 2.627 MB / 1.113 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/1.045, allocations: 55.78 kB / 1.113 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/1.046, allocations: 453.1 kB / 1.113 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/1.046, allocations: 30.86 kB / 1.113 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/1.046, allocations: 353.2 kB / 1.114 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/1.047, allocations: 138.1 kB / 1.114 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/1.047, allocations: 106.9 kB / 1.114 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002207/1.047, allocations: 362.7 kB / 1.114 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006161/1.048, allocations: 242.5 kB / 1.114 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/1.048, allocations: 409.4 kB / 1.115 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.05, allocations: 0.6734 MB / 1.116 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.05, allocations: 5.438 kB / 1.116 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001957/1.052, allocations: 0.9188 MB / 1.116 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.052, allocations: 7.859 kB / 1.116 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.052, allocations: 6.375 kB / 1.116 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008446/1.052, allocations: 224.4 kB / 1.117 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/1.053, allocations: 114.9 kB / 1.117 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006016/1.059, allocations: 5.334 MB / 1.122 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006186/1.06, allocations: 33.5 kB / 1.122 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-05/1.06, allocations: 24.08 kB / 1.122 GB, free: 14.98 MB / 0.8887 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.0005392/1.06, allocations: 222.3 kB / 1.122 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/1.061, allocations: 59.72 kB / 1.122 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/1.062, allocations: 0.7728 MB / 1.123 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.062, allocations: 3.25 kB / 1.123 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.063, allocations: 0 / 1.123 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/1.063, allocations: 169.8 kB / 1.123 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.063, allocations: 15.86 kB / 1.123 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/1.063, allocations: 26.09 kB / 1.123 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.064, allocations: 35.78 kB / 1.123 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002255/1.066, allocations: 0.8581 MB / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001433/1.067, allocations: 0.9598 MB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003949/1.068, allocations: 241.1 kB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004947/1.068, allocations: 312.7 kB / 1.126 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of Backend: time 1.062e-06/1.068, allocations: 0 / 1.126 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002797/1.071, allocations: 1.072 MB / 1.127 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003014/1.074, allocations: 1.777 MB / 1.128 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of Templates: time 0.02616/1.1, allocations: 11.09 MB / 1.139 GB, free: 10.16 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches