Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.272/2.272, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 178.9 kB / 0.4902 GB, free: 2.266 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 223.1 MB / 0.7992 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001059, allocations: 96.27 kB / 0.9396 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.000411, allocations: 8 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3436, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2372/0.5809, allocations: 173.6 MB / 1.399 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/0.5813, allocations: 95.94 kB / 1.399 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.9374/1.519, allocations: 40.4 MB / 1.438 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.136e-06/1.519, allocations: 1 kB / 1.438 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000145/1.519, allocations: 23.69 kB / 1.438 GB, free: 166.8 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003758/1.523, allocations: 0.9404 MB / 1.439 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/1.523, allocations: 12.98 kB / 1.439 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/1.526, allocations: 224.5 kB / 1.439 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/1.528, allocations: 0.5401 MB / 1.44 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/1.528, allocations: 49.84 kB / 1.44 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/1.528, allocations: 60.05 kB / 1.44 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/1.531, allocations: 1.083 MB / 1.441 GB, free: 165 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.699e-05/1.531, allocations: 11.34 kB / 1.441 GB, free: 165 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/1.531, allocations: 36.69 kB / 1.441 GB, free: 165 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/1.531, allocations: 56.22 kB / 1.441 GB, free: 165 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/1.533, allocations: 0.6872 MB / 1.442 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006858/1.54, allocations: 5.776 MB / 1.448 GB, free: 160 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/1.542, allocations: 0.5943 MB / 1.448 GB, free: 159.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/1.542, allocations: 4.688 kB / 1.448 GB, free: 159.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/1.542, allocations: 40.06 kB / 1.448 GB, free: 159.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=41): time 3.386e-06/1.542, allocations: 0 / 1.448 GB, free: 159.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=42): time 0.006236/1.548, allocations: 1.901 MB / 1.45 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/1.548, allocations: 55.44 kB / 1.45 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007192/1.549, allocations: 392.7 kB / 1.451 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/1.549, allocations: 35.14 kB / 1.451 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/1.549, allocations: 379.8 kB / 1.451 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/1.549, allocations: 149.4 kB / 1.451 GB, free: 157.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/1.549, allocations: 10.16 kB / 1.451 GB, free: 157.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.549, allocations: 367.6 kB / 1.451 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007129/1.55, allocations: 221.4 kB / 1.452 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008761/1.551, allocations: 419 kB / 1.452 GB, free: 156.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/1.552, allocations: 287.4 kB / 1.452 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/1.552, allocations: 2.219 kB / 1.452 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002593/1.555, allocations: 0.9601 MB / 1.453 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.555, allocations: 11.56 kB / 1.453 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.555, allocations: 11.41 kB / 1.453 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/1.556, allocations: 267.3 kB / 1.454 GB, free: 156 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/1.557, allocations: 93.36 kB / 1.454 GB, free: 156 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/1.564, allocations: 6.758 MB / 1.46 GB, free: 149.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008237/1.565, allocations: 30.48 kB / 1.46 GB, free: 149.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/1.565, allocations: 26.39 kB / 1.46 GB, free: 149.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006106/1.566, allocations: 244.7 kB / 1.46 GB, free: 149.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/1.566, allocations: 62.39 kB / 1.461 GB, free: 149.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/1.568, allocations: 0.8284 MB / 1.461 GB, free: 149 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/1.568, allocations: 3.875 kB / 1.461 GB, free: 149 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.568, allocations: 3.938 kB / 1.461 GB, free: 149 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/1.568, allocations: 7.984 kB / 1.461 GB, free: 149 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/1.572, allocations: 1.731 MB / 1.463 GB, free: 147.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.572, allocations: 3.984 kB / 1.463 GB, free: 147.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/1.573, allocations: 53.31 kB / 1.463 GB, free: 147.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/1.574, allocations: 246.8 kB / 1.463 GB, free: 147.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/1.574, allocations: 15.91 kB / 1.463 GB, free: 147.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00628/1.58, allocations: 6.457 MB / 1.47 GB, free: 140.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.581, allocations: 4 kB / 1.47 GB, free: 140.9 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/1.582, allocations: 0.9739 MB / 1.471 GB, free: 139.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/1.583, allocations: 176.4 kB / 1.471 GB, free: 139.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.701e-05/1.583, allocations: 8 kB / 1.471 GB, free: 139.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/1.583, allocations: 23.97 kB / 1.471 GB, free: 139.6 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.584, allocations: 35.91 kB / 1.471 GB, free: 139.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/1.584, allocations: 16 kB / 1.471 GB, free: 139.6 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004299/1.584, allocations: 298.9 kB / 1.471 GB, free: 139.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/1.584, allocations: 4 kB / 1.471 GB, free: 139.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009618/1.585, allocations: 200 kB / 1.471 GB, free: 139.1 MB / 0.9011 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002158/1.585, allocations: 111.1 kB / 1.471 GB, free: 139 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001491/1.587, allocations: 1.133 MB / 1.473 GB, free: 137.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.587, allocations: 0 / 1.473 GB, free: 137.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008254/1.588, allocations: 0.7996 MB / 1.473 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008322/1.588, allocations: 173.9 kB / 1.474 GB, free: 136.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/1.59, allocations: 1.456 MB / 1.475 GB, free: 135.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/1.591, allocations: 1.008 MB / 1.476 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003035/1.591, allocations: 101.1 kB / 1.476 GB, free: 134.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.69e-05/1.591, allocations: 35.44 kB / 1.476 GB, free: 134.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.242e-06/1.591, allocations: 0 / 1.476 GB, free: 134.1 MB / 0.9011 GB Notification: Performance of Templates: time 0.01238/1.604, allocations: 8.649 MB / 1.484 GB, free: 125.5 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches