Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ThreePhasesBalanced.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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001085/0.001085, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001285/0.001285, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.64/2.64, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004511, allocations: 12 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.817, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00597/0.823, allocations: 4.709 MB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004477/0.8275, allocations: 2.492 MB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.8279, allocations: 23.81 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.8282, allocations: 91.36 kB / 1.028 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008134/0.829, allocations: 323 kB / 1.028 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.8299, allocations: 319.2 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008471/0.8308, allocations: 0.5823 MB / 1.029 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.8321, allocations: 0.7471 MB / 1.03 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.8325, allocations: 278.9 kB / 1.03 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.833, allocations: 302.8 kB / 1.03 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.8331, allocations: 28 kB / 1.03 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.8335, allocations: 147.8 kB / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.8337, allocations: 207.4 kB / 1.031 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.8338, allocations: 149.3 kB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.8345, allocations: 0.6915 MB / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.8345, allocations: 0 / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8345, allocations: 0 / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.8346, allocations: 0 / 1.032 GB, free: 5.996 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.001469/0.836, allocations: 0.8529 MB / 1.032 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.8361, allocations: 11.98 kB / 1.032 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.8373, allocations: 186.9 kB / 1.033 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008064/0.8381, allocations: 477.4 kB / 1.033 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.8382, allocations: 40.98 kB / 1.033 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.8383, allocations: 51.98 kB / 1.033 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.8395, allocations: 0.8161 MB / 1.034 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.8395, allocations: 7.938 kB / 1.034 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.8396, allocations: 23.98 kB / 1.034 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002177/0.8398, allocations: 72.94 kB / 1.034 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.8407, allocations: 0.5657 MB / 1.035 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004881/0.8456, allocations: 4.593 MB / 1.039 GB, free: 13.79 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.8462, allocations: 299.2 kB / 1.039 GB, free: 13.49 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.8462, allocations: 4.281 kB / 1.039 GB, free: 13.49 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.8463, allocations: 34.84 kB / 1.039 GB, free: 13.45 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.8463, allocations: 4 kB / 1.039 GB, free: 13.44 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005916/0.8522, allocations: 2.635 MB / 1.042 GB, free: 10.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.8523, allocations: 55.41 kB / 1.042 GB, free: 10.61 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.8528, allocations: 461.9 kB / 1.042 GB, free: 10.15 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.8529, allocations: 29.7 kB / 1.043 GB, free: 10.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.8531, allocations: 343.6 kB / 1.043 GB, free: 9.773 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.8533, allocations: 146 kB / 1.043 GB, free: 9.629 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.8534, allocations: 16 kB / 1.043 GB, free: 9.613 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.8536, allocations: 366.7 kB / 1.043 GB, free: 9.246 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.8539, allocations: 237 kB / 1.044 GB, free: 9.016 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.8544, allocations: 402.4 kB / 1.044 GB, free: 8.551 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.8548, allocations: 293.5 kB / 1.044 GB, free: 8.266 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.8548, allocations: 4 kB / 1.044 GB, free: 8.262 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001748/0.8566, allocations: 0.9178 MB / 1.045 GB, free: 7.328 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.8566, allocations: 8 kB / 1.045 GB, free: 7.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.8566, allocations: 8 kB / 1.045 GB, free: 7.312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008144/0.8575, allocations: 230.4 kB / 1.045 GB, free: 7.078 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/0.858, allocations: 103.9 kB / 1.045 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005061/0.8631, allocations: 5.005 MB / 1.05 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.8636, allocations: 31.97 kB / 1.05 GB, free: 1.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.8637, allocations: 32 kB / 1.05 GB, free: 1.508 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003612/0.864, allocations: 231.1 kB / 1.051 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.8641, allocations: 55.34 kB / 1.051 GB, free: 1.219 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.8656, allocations: 0.7776 MB / 1.051 GB, free: 432 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.8656, allocations: 7.938 kB / 1.051 GB, free: 424 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8657, allocations: 4 kB / 1.051 GB, free: 420 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.8657, allocations: 3.984 kB / 1.051 GB, free: 416 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.8682, allocations: 1.502 MB / 1.053 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.8683, allocations: 0 / 1.053 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.8686, allocations: 63.89 kB / 1.053 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006765/0.8693, allocations: 214.8 kB / 1.053 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.8694, allocations: 12 kB / 1.053 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00476/0.8741, allocations: 4.935 MB / 1.058 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8742, allocations: 7.938 kB / 1.058 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.876, allocations: 1.205 MB / 1.059 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.8763, allocations: 176.4 kB / 1.059 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.8764, allocations: 8 kB / 1.059 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.8767, allocations: 27.91 kB / 1.059 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/0.8768, allocations: 43.97 kB / 1.059 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.8769, allocations: 8 kB / 1.059 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003463/0.8772, allocations: 314.9 kB / 1.06 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8772, allocations: 0 / 1.06 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007117/0.8779, allocations: 168 kB / 1.06 GB, free: 7.137 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.8781, allocations: 121 kB / 1.06 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.8797, allocations: 1 MB / 1.061 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.8797, allocations: 0 / 1.061 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.8806, allocations: 0.6799 MB / 1.062 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007334/0.8814, allocations: 158.1 kB / 1.062 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.8834, allocations: 1.501 MB / 1.063 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.884, allocations: 0.9572 MB / 1.064 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003621/0.8844, allocations: 117 kB / 1.064 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.8845, allocations: 39.42 kB / 1.064 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of SimCode: time 9.62e-07/0.8845, allocations: 3.938 kB / 1.064 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.01424/0.8987, allocations: 8.148 MB / 1.072 GB, free: 10.37 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches