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.001321/0.001321, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001702/0.001701, allocations: 194.5 kB / 16.14 MB, free: 6.645 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 / 239.8 MB, free: 4.59 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.709/2.709, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.7111, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.01077/0.722, allocations: 5.484 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006909/0.7289, allocations: 2.631 MB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.73, allocations: 23.81 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.7328, allocations: 0.6344 MB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.7347, allocations: 386.1 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.7362, allocations: 365.5 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002196/0.7384, allocations: 1.244 MB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.7396, allocations: 452 kB / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009091/0.7405, allocations: 338.5 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009832/0.7415, allocations: 402.5 kB / 1.028 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.7418, allocations: 32 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.7431, allocations: 439.1 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000442/0.7435, allocations: 239.2 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006262/0.7442, allocations: 322.3 kB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.7459, allocations: 0.9772 MB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7459, allocations: 0 / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7459, allocations: 0 / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.492e-05/0.7459, allocations: 0 / 1.03 GB, free: 4.859 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.002631/0.7486, allocations: 0.9738 MB / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7486, allocations: 8.031 kB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.7511, allocations: 191.9 kB / 1.031 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.7523, allocations: 494.4 kB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.7523, allocations: 37.38 kB / 1.032 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.7526, allocations: 52.53 kB / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.7544, allocations: 0.8396 MB / 1.033 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.7545, allocations: 7.906 kB / 1.033 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.7546, allocations: 24 kB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002994/0.7549, allocations: 64.89 kB / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.7563, allocations: 0.5735 MB / 1.033 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006269/0.7626, allocations: 4.596 MB / 1.038 GB, free: 12.49 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/0.7633, allocations: 287.3 kB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.7637, allocations: 233.3 kB / 1.038 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.7638, allocations: 4.281 kB / 1.038 GB, free: 11.96 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.7638, allocations: 42.83 kB / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 3.647e-06/0.7638, allocations: 0 / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.008205/0.7721, allocations: 2.618 MB / 1.041 GB, free: 9.168 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.7721, allocations: 55.41 kB / 1.041 GB, free: 9.102 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.7729, allocations: 457.9 kB / 1.041 GB, free: 8.645 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.773, allocations: 41.7 kB / 1.041 GB, free: 8.598 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.7733, allocations: 339.6 kB / 1.042 GB, free: 8.258 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.7735, allocations: 141.9 kB / 1.042 GB, free: 8.117 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.7738, allocations: 106.1 kB / 1.042 GB, free: 8.008 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.774, allocations: 370.8 kB / 1.042 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.7746, allocations: 229 kB / 1.043 GB, free: 7.414 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/0.7753, allocations: 406.5 kB / 1.043 GB, free: 6.941 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.7767, allocations: 0.6779 MB / 1.044 GB, free: 6.191 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7767, allocations: 7.938 kB / 1.044 GB, free: 6.184 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002643/0.7794, allocations: 0.913 MB / 1.045 GB, free: 5.254 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.7794, allocations: 12.64 kB / 1.045 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.7795, allocations: 4 kB / 1.045 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.7806, allocations: 222.4 kB / 1.045 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.7814, allocations: 123.8 kB / 1.045 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006837/0.7883, allocations: 4.935 MB / 1.05 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007314/0.789, allocations: 31.97 kB / 1.05 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.7891, allocations: 24 kB / 1.05 GB, free: 15.5 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.0004235/0.7895, allocations: 234.1 kB / 1.05 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.7897, allocations: 55.34 kB / 1.05 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.792, allocations: 0.7736 MB / 1.051 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.7921, allocations: 4 kB / 1.051 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7921, allocations: 0 / 1.051 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.7921, allocations: 0 / 1.051 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003819/0.7959, allocations: 1.506 MB / 1.052 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.7959, allocations: 0 / 1.052 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.7965, allocations: 67.88 kB / 1.052 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.7976, allocations: 210.5 kB / 1.053 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/0.7977, allocations: 12 kB / 1.053 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006501/0.8042, allocations: 4.864 MB / 1.057 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8042, allocations: 3.938 kB / 1.057 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.8071, allocations: 1.139 MB / 1.058 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.8075, allocations: 164.4 kB / 1.059 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.8076, allocations: 15.98 kB / 1.059 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.8082, allocations: 23.97 kB / 1.059 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.8084, allocations: 43.89 kB / 1.059 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.8084, allocations: 16 kB / 1.059 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000583/0.809, allocations: 314.8 kB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.809, allocations: 0 / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001114/0.8102, allocations: 164 kB / 1.059 GB, free: 5.332 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.0001951/0.8104, allocations: 122 kB / 1.059 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002416/0.8128, allocations: 1.004 MB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8128, allocations: 0 / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.8142, allocations: 0.6721 MB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.8157, allocations: 180.7 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.8189, allocations: 1.506 MB / 1.063 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/0.8196, allocations: 0.9377 MB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006035/0.8203, allocations: 117 kB / 1.064 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.8204, allocations: 35.44 kB / 1.064 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of SimCode: time 7.52e-07/0.8204, allocations: 0 / 1.064 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of Templates: time 0.02388/0.8443, allocations: 8.535 MB / 1.072 GB, free: 8.176 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