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.008287/0.008287, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001361/0.001362, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.456/1.456, allocations: 222.9 MB / 240.4 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.363/2.363, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.065, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009115/1.074, allocations: 6.74 MB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006868/1.081, allocations: 3.028 MB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/1.082, allocations: 23.19 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003079/1.086, allocations: 0.9495 MB / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002392/1.088, allocations: 0.5303 MB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/1.09, allocations: 416.5 kB / 1.099 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003028/1.093, allocations: 1.227 MB / 1.101 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/1.095, allocations: 0.6659 MB / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/1.097, allocations: 469.8 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/1.1, allocations: 0.5228 MB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002602/1.1, allocations: 71.69 kB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/1.102, allocations: 381.1 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007964/1.103, allocations: 303.2 kB / 1.103 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/1.104, allocations: 451.4 kB / 1.103 GB, free: 12 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004018/1.108, allocations: 1.222 MB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/1.108, allocations: 0 / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.978e-06/1.108, allocations: 0 / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.302e-05/1.108, allocations: 0.7031 kB / 1.104 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.003034/1.111, allocations: 1.184 MB / 1.106 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.111, allocations: 10.05 kB / 1.106 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/1.113, allocations: 243.5 kB / 1.106 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/1.114, allocations: 0.5957 MB / 1.106 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/1.114, allocations: 48.22 kB / 1.107 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/1.115, allocations: 65.02 kB / 1.107 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/1.117, allocations: 1.089 MB / 1.108 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/1.117, allocations: 6.766 kB / 1.108 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.498e-05/1.117, allocations: 30.38 kB / 1.108 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/1.117, allocations: 84.08 kB / 1.108 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/1.118, allocations: 0.753 MB / 1.108 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007156/1.126, allocations: 5.885 MB / 1.114 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/1.127, allocations: 0.5519 MB / 1.115 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/1.128, allocations: 328.2 kB / 1.115 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/1.128, allocations: 4.719 kB / 1.115 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/1.128, allocations: 43.58 kB / 1.115 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/1.128, allocations: 0 / 1.115 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004475/1.132, allocations: 2.002 MB / 1.117 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.132, allocations: 56.03 kB / 1.117 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/1.133, allocations: 0.5509 MB / 1.118 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/1.133, allocations: 40.05 kB / 1.118 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/1.133, allocations: 430.5 kB / 1.118 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/1.134, allocations: 173.1 kB / 1.118 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/1.134, allocations: 128.8 kB / 1.118 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001977/1.134, allocations: 377.5 kB / 1.119 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/1.135, allocations: 271.1 kB / 1.119 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/1.135, allocations: 498.4 kB / 1.119 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.136, allocations: 0.81 MB / 1.12 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.136, allocations: 2.75 kB / 1.12 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002098/1.138, allocations: 1.088 MB / 1.121 GB, free: 124 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/1.139, allocations: 13.03 kB / 1.121 GB, free: 120 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.139, allocations: 7.25 kB / 1.121 GB, free: 120 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009506/1.139, allocations: 275.9 kB / 1.122 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/1.14, allocations: 124.9 kB / 1.122 GB, free: 20 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007288/1.147, allocations: 7.144 MB / 1.129 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000881/1.148, allocations: 41.48 kB / 1.129 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/1.148, allocations: 28.16 kB / 1.129 GB, free: 9.758 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.0004957/1.149, allocations: 255.2 kB / 1.129 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/1.149, allocations: 79.22 kB / 1.129 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/1.151, allocations: 0.8876 MB / 1.13 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.151, allocations: 5.688 kB / 1.13 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.151, allocations: 2.5 kB / 1.13 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/1.151, allocations: 3.375 kB / 1.13 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/1.154, allocations: 1.729 MB / 1.132 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.154, allocations: 1.344 kB / 1.132 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/1.154, allocations: 68.5 kB / 1.132 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008526/1.155, allocations: 265.2 kB / 1.132 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/1.155, allocations: 16.55 kB / 1.132 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007648/1.163, allocations: 7.117 MB / 1.139 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.163, allocations: 6.047 kB / 1.139 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/1.165, allocations: 0.9833 MB / 1.14 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/1.166, allocations: 190.5 kB / 1.14 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/1.166, allocations: 12.95 kB / 1.14 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/1.166, allocations: 33.25 kB / 1.14 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/1.167, allocations: 45.72 kB / 1.14 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/1.167, allocations: 15.86 kB / 1.14 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006513/1.167, allocations: 380.3 kB / 1.141 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.61e-07/1.167, allocations: 0 / 1.141 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001462/1.169, allocations: 225.7 kB / 1.141 GB, free: 1.023 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002263/1.169, allocations: 121.8 kB / 1.141 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002571/1.172, allocations: 1.273 MB / 1.142 GB, free: 172 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.172, allocations: 5.375 kB / 1.142 GB, free: 168 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/1.173, allocations: 0.8972 MB / 1.143 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.175, allocations: 223.9 kB / 1.143 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/1.178, allocations: 1.347 MB / 1.145 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009586/1.179, allocations: 1.006 MB / 1.146 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005844/1.18, allocations: 125.5 kB / 1.146 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/1.18, allocations: 40.72 kB / 1.146 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of SimCode: time 6.51e-07/1.18, allocations: 1.375 kB / 1.146 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of Templates: time 0.03212/1.212, allocations: 11.32 MB / 1.157 GB, free: 10.98 MB / 0.9044 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/jenkins/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