Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 114.8 kB / 16.42 MB, free: 6.445 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.001413/0.001414, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.533/1.533, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.377/2.377, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.916/0.9175, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008567/0.9261, allocations: 6.727 MB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007421/0.9336, allocations: 3.036 MB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.9347, allocations: 31.47 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002942/0.9377, allocations: 0.9418 MB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.9399, allocations: 0.5267 MB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.9417, allocations: 421.2 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.9442, allocations: 1.226 MB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.9457, allocations: 0.669 MB / 1.102 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.9471, allocations: 474.7 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.9485, allocations: 0.5175 MB / 1.103 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004084/0.9489, allocations: 67.16 kB / 1.103 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.9504, allocations: 387.2 kB / 1.103 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007888/0.9512, allocations: 298.4 kB / 1.104 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.9527, allocations: 447.7 kB / 1.104 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.9556, allocations: 1.217 MB / 1.105 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9557, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9557, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.195e-05/0.9557, allocations: 0 / 1.105 GB, free: 11.57 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003697/0.9594, allocations: 1.163 MB / 1.106 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.9595, allocations: 9.156 kB / 1.106 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.9615, allocations: 242.5 kB / 1.107 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.9628, allocations: 0.5877 MB / 1.107 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.9628, allocations: 52.61 kB / 1.107 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.963, allocations: 57.81 kB / 1.107 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.9649, allocations: 1.089 MB / 1.108 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.965, allocations: 10.16 kB / 1.108 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.9651, allocations: 25.78 kB / 1.108 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.9652, allocations: 92.56 kB / 1.108 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.9667, allocations: 0.7506 MB / 1.109 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00663/0.9733, allocations: 5.878 MB / 1.115 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.9746, allocations: 0.5484 MB / 1.115 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.9751, allocations: 332.9 kB / 1.116 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.9752, allocations: 9.188 kB / 1.116 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.9752, allocations: 42.3 kB / 1.116 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 3.367e-06/0.9752, allocations: 0 / 1.116 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004501/0.9797, allocations: 1.988 MB / 1.118 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.9798, allocations: 57.77 kB / 1.118 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009529/0.9807, allocations: 0.554 MB / 1.118 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.9808, allocations: 32.45 kB / 1.118 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.9812, allocations: 417.1 kB / 1.119 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.9813, allocations: 172 kB / 1.119 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.9816, allocations: 128.6 kB / 1.119 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.9818, allocations: 373.7 kB / 1.119 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.9823, allocations: 275 kB / 1.12 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/0.9829, allocations: 498.3 kB / 1.12 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.9841, allocations: 0.8065 MB / 1.121 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.9841, allocations: 2.031 kB / 1.121 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00219/0.9863, allocations: 1.091 MB / 1.122 GB, free: 180 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.9863, allocations: 9.281 kB / 1.122 GB, free: 180 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.9864, allocations: 6.375 kB / 1.122 GB, free: 180 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009183/0.9873, allocations: 274.4 kB / 1.122 GB, free: 96 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.9878, allocations: 127.2 kB / 1.122 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007442/0.9953, allocations: 7.137 MB / 1.129 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008313/0.9962, allocations: 40.28 kB / 1.129 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.9962, allocations: 27.62 kB / 1.129 GB, free: 9.824 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0004572/0.9967, allocations: 250.6 kB / 1.13 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.9968, allocations: 81.64 kB / 1.13 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.9984, allocations: 0.8861 MB / 1.131 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.9985, allocations: 6.328 kB / 1.131 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.9985, allocations: 1.344 kB / 1.131 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.9988, allocations: 188 kB / 1.131 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.999, allocations: 11.58 kB / 1.131 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.9994, allocations: 24.17 kB / 1.131 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.9995, allocations: 44.88 kB / 1.131 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002241/1.002, allocations: 0.9565 MB / 1.132 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001579/1.003, allocations: 1.044 MB / 1.133 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004473/1.004, allocations: 259.5 kB / 1.133 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006465/1.004, allocations: 385.4 kB / 1.133 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of Backend: time 1.002e-06/1.004, allocations: 3.938 kB / 1.133 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003428/1.008, allocations: 1.303 MB / 1.135 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of SimCode: time 0.004469/1.012, allocations: 1.946 MB / 1.137 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of Templates: time 0.03206/1.044, allocations: 13.18 MB / 1.149 GB, free: 2.695 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches