Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00158/0.00158, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001757/0.001757, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.519/1.519, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.537/2.537, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 67.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.01041/1.123, allocations: 5.462 MB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005823/1.129, allocations: 2.63 MB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007759/1.13, allocations: 23.88 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/1.132, allocations: 0.6807 MB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/1.134, allocations: 425.7 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/1.135, allocations: 401.6 kB / 1.177 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001611/1.137, allocations: 0.9475 MB / 1.178 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008774/1.138, allocations: 466.3 kB / 1.178 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008203/1.138, allocations: 382.5 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008134/1.139, allocations: 398.4 kB / 1.179 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/1.139, allocations: 51.98 kB / 1.179 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009619/1.14, allocations: 359.3 kB / 1.179 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003717/1.141, allocations: 251.3 kB / 1.179 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006511/1.141, allocations: 354.2 kB / 1.18 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/1.143, allocations: 0.9635 MB / 1.181 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.143, allocations: 0 / 1.181 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.465e-06/1.143, allocations: 0 / 1.181 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.084e-05/1.143, allocations: 0 / 1.181 GB, free: 6.109 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.002476/1.146, allocations: 0.9815 MB / 1.182 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.146, allocations: 8.922 kB / 1.182 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/1.147, allocations: 191.8 kB / 1.182 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/1.149, allocations: 0.5103 MB / 1.182 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/1.149, allocations: 45.36 kB / 1.182 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/1.149, allocations: 48.47 kB / 1.182 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/1.15, allocations: 0.8318 MB / 1.183 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/1.15, allocations: 7.938 kB / 1.183 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/1.15, allocations: 23.98 kB / 1.183 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002103/1.151, allocations: 64.95 kB / 1.183 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/1.152, allocations: 0.5736 MB / 1.184 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005604/1.157, allocations: 4.565 MB / 1.188 GB, free: 13.74 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/1.158, allocations: 295.2 kB / 1.189 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/1.158, allocations: 233.3 kB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/1.158, allocations: 4.281 kB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/1.158, allocations: 34.84 kB / 1.189 GB, free: 13.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 3.296e-06/1.158, allocations: 0 / 1.189 GB, free: 13.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.00606/1.164, allocations: 2.635 MB / 1.191 GB, free: 10.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.164, allocations: 55.41 kB / 1.192 GB, free: 10.34 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000614/1.165, allocations: 461.9 kB / 1.192 GB, free: 9.871 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/1.165, allocations: 33.7 kB / 1.192 GB, free: 9.832 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000276/1.165, allocations: 335.7 kB / 1.192 GB, free: 9.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/1.166, allocations: 146 kB / 1.192 GB, free: 9.355 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/1.166, allocations: 102.2 kB / 1.193 GB, free: 9.25 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.166, allocations: 366.7 kB / 1.193 GB, free: 8.883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/1.166, allocations: 232.9 kB / 1.193 GB, free: 8.656 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/1.167, allocations: 419.4 kB / 1.194 GB, free: 8.172 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/1.168, allocations: 0.67 MB / 1.194 GB, free: 7.43 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.168, allocations: 4 kB / 1.194 GB, free: 7.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001954/1.17, allocations: 0.9213 MB / 1.195 GB, free: 6.488 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.17, allocations: 4.062 kB / 1.195 GB, free: 6.484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.17, allocations: 12 kB / 1.195 GB, free: 6.473 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008674/1.171, allocations: 222.4 kB / 1.195 GB, free: 6.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/1.171, allocations: 115.8 kB / 1.195 GB, free: 6.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/1.177, allocations: 5.344 MB / 1.201 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/1.178, allocations: 31.97 kB / 1.201 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/1.178, allocations: 20 kB / 1.201 GB, free: 328 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.0004554/1.179, allocations: 226.2 kB / 1.201 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/1.179, allocations: 59.34 kB / 1.201 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/1.18, allocations: 0.7773 MB / 1.202 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.984e-06/1.181, allocations: 0 / 1.202 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.181, allocations: 8 kB / 1.202 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/1.181, allocations: 172.4 kB / 1.202 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/1.181, allocations: 4 kB / 1.202 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/1.181, allocations: 23.97 kB / 1.202 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/1.181, allocations: 35.94 kB / 1.202 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002058/1.184, allocations: 0.8577 MB / 1.203 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001306/1.185, allocations: 0.9605 MB / 1.204 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003562/1.185, allocations: 235.8 kB / 1.204 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003863/1.186, allocations: 310.9 kB / 1.204 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of Backend: time 3.41e-07/1.186, allocations: 0 / 1.204 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002621/1.188, allocations: 1.089 MB / 1.205 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002825/1.191, allocations: 1.758 MB / 1.207 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.02139/1.213, allocations: 11.08 MB / 1.218 GB, free: 14.69 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches