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.001603/0.001603, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002245/0.002245, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.589/1.589, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.713/2.713, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7864, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007568/0.794, allocations: 5.484 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004722/0.7987, allocations: 2.603 MB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.7992, allocations: 19.81 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.801, allocations: 0.6433 MB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.802, allocations: 378.1 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009426/0.803, allocations: 361 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009809/0.804, allocations: 0.9473 MB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007106/0.8047, allocations: 0.5083 MB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/0.8052, allocations: 374.5 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.8057, allocations: 422.5 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.773e-05/0.8057, allocations: 48 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006334/0.8064, allocations: 367.2 kB / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.8066, allocations: 251.3 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.8069, allocations: 342.3 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.808, allocations: 0.9966 MB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.808, allocations: 0 / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.808, allocations: 0 / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.808, allocations: 0 / 1.03 GB, free: 5 MB / 0.7794 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.001572/0.8096, allocations: 0.9673 MB / 1.031 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8096, allocations: 8.031 kB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.811, allocations: 195.9 kB / 1.031 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/0.8117, allocations: 494.4 kB / 1.032 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.8117, allocations: 41.38 kB / 1.032 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.8119, allocations: 52.55 kB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.8131, allocations: 0.8396 MB / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.8131, allocations: 7.906 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.8132, allocations: 24 kB / 1.033 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/0.8133, allocations: 64.89 kB / 1.033 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008497/0.8142, allocations: 0.5735 MB / 1.033 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004512/0.8187, allocations: 4.585 MB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.8192, allocations: 291.3 kB / 1.038 GB, free: 12.35 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.8195, allocations: 229.3 kB / 1.038 GB, free: 12.12 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.8196, allocations: 288 / 1.038 GB, free: 12.12 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.8196, allocations: 46.78 kB / 1.038 GB, free: 12.07 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.8196, allocations: 0 / 1.038 GB, free: 12.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005779/0.8254, allocations: 2.626 MB / 1.041 GB, free: 9.316 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.8255, allocations: 59.34 kB / 1.041 GB, free: 9.246 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/0.826, allocations: 457.9 kB / 1.041 GB, free: 8.789 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.826, allocations: 33.7 kB / 1.041 GB, free: 8.75 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.8263, allocations: 339.7 kB / 1.042 GB, free: 8.41 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.8264, allocations: 145.9 kB / 1.042 GB, free: 8.266 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.8266, allocations: 102.2 kB / 1.042 GB, free: 8.16 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8268, allocations: 362.8 kB / 1.042 GB, free: 7.797 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.8271, allocations: 237 kB / 1.043 GB, free: 7.566 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.8276, allocations: 406.5 kB / 1.043 GB, free: 7.094 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.8285, allocations: 0.6778 MB / 1.044 GB, free: 6.344 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8285, allocations: 0 / 1.044 GB, free: 6.344 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001682/0.8302, allocations: 0.9252 MB / 1.045 GB, free: 5.402 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.8302, allocations: 8 kB / 1.045 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8303, allocations: 4 kB / 1.045 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008002/0.8311, allocations: 230.5 kB / 1.045 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.8316, allocations: 119.8 kB / 1.045 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00529/0.8369, allocations: 5.339 MB / 1.05 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.8375, allocations: 39.91 kB / 1.05 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.8375, allocations: 20 kB / 1.05 GB, free: 15.21 MB / 0.8106 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.0003527/0.8379, allocations: 230.9 kB / 1.05 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.838, allocations: 59.47 kB / 1.05 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.8395, allocations: 0.7735 MB / 1.051 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.8395, allocations: 4 kB / 1.051 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8395, allocations: 8 kB / 1.051 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8396, allocations: 0 / 1.051 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.842, allocations: 1.495 MB / 1.053 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.842, allocations: 4.219 kB / 1.053 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/0.8424, allocations: 71.88 kB / 1.053 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006927/0.8431, allocations: 202.4 kB / 1.053 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.8432, allocations: 12 kB / 1.053 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005263/0.8484, allocations: 5.274 MB / 1.058 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8484, allocations: 0 / 1.058 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.8503, allocations: 1.131 MB / 1.059 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.8506, allocations: 168.4 kB / 1.059 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.8506, allocations: 15.92 kB / 1.059 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.851, allocations: 23.97 kB / 1.059 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/0.8511, allocations: 39.89 kB / 1.059 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.8511, allocations: 8 kB / 1.059 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003646/0.8515, allocations: 314.9 kB / 1.06 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8515, allocations: 0 / 1.06 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007336/0.8523, allocations: 168.1 kB / 1.06 GB, free: 4.637 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 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,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001904/0.8524, allocations: 111.2 kB / 1.06 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00175/0.8542, allocations: 1.07 MB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.8542, allocations: 4 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000931/0.8552, allocations: 0.676 MB / 1.062 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.8561, allocations: 187.7 kB / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.8583, allocations: 1.501 MB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.8589, allocations: 0.9494 MB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003655/0.8593, allocations: 117 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.8594, allocations: 35.44 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.8594, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of Templates: time 0.0171/0.8765, allocations: 8.91 MB / 1.073 GB, free: 7.039 MB / 0.8262 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/jenkins/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