Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.28/2.28, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001157/0.001157, allocations: 179.6 kB / 0.4902 GB, free: 2.246 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.621/1.621, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001184/0.001184, allocations: 104.8 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 10.44 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3989, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2332/0.6322, allocations: 172.5 MB / 1.398 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.6326, allocations: 95.94 kB / 1.398 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.755/1.388, allocations: 40.19 MB / 1.437 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.643e-06/1.388, allocations: 0 / 1.437 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.937e-05/1.388, allocations: 22.97 kB / 1.437 GB, free: 178.3 MB / 0.9167 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.002557/1.39, allocations: 1.038 MB / 1.438 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.39, allocations: 12.28 kB / 1.438 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/1.392, allocations: 237.4 kB / 1.438 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/1.394, allocations: 0.5349 MB / 1.439 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/1.394, allocations: 55.98 kB / 1.439 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/1.394, allocations: 63.97 kB / 1.439 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/1.396, allocations: 1.138 MB / 1.44 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/1.396, allocations: 5.812 kB / 1.44 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/1.396, allocations: 38.56 kB / 1.44 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.512e-05/1.396, allocations: 51.14 kB / 1.44 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/1.397, allocations: 0.7473 MB / 1.441 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004233/1.401, allocations: 5.919 MB / 1.447 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/1.402, allocations: 0.5458 MB / 1.447 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/1.402, allocations: 7.875 kB / 1.447 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/1.402, allocations: 38.31 kB / 1.447 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=47): time 1.834e-06/1.402, allocations: 0 / 1.447 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=48): time 0.003417/1.406, allocations: 1.978 MB / 1.449 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/1.406, allocations: 62.75 kB / 1.449 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/1.406, allocations: 496.2 kB / 1.45 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/1.406, allocations: 32.73 kB / 1.45 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/1.406, allocations: 397.1 kB / 1.45 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/1.407, allocations: 169.8 kB / 1.45 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/1.407, allocations: 10.31 kB / 1.45 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/1.407, allocations: 373.5 kB / 1.451 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/1.407, allocations: 267.5 kB / 1.451 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/1.408, allocations: 466.5 kB / 1.451 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/1.408, allocations: 339.7 kB / 1.452 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.408, allocations: 1.844 kB / 1.452 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001839/1.41, allocations: 1.055 MB / 1.453 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.41, allocations: 12.5 kB / 1.453 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.41, allocations: 9.531 kB / 1.453 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008223/1.411, allocations: 276.2 kB / 1.453 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/1.411, allocations: 120.4 kB / 1.453 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005125/1.416, allocations: 6.701 MB / 1.46 GB, free: 165.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/1.417, allocations: 37.83 kB / 1.46 GB, free: 165.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/1.417, allocations: 28.19 kB / 1.46 GB, free: 165.3 MB / 0.9167 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 (63): * Single equations (assignments): 59 * 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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005073/1.418, allocations: 253.5 kB / 1.46 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/1.418, allocations: 72.03 kB / 1.46 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/1.419, allocations: 0.8855 MB / 1.461 GB, free: 165 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.419, allocations: 8.344 kB / 1.461 GB, free: 165 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.419, allocations: 3.219 kB / 1.461 GB, free: 165 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/1.419, allocations: 8.328 kB / 1.461 GB, free: 165 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/1.422, allocations: 1.708 MB / 1.463 GB, free: 164.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.422, allocations: 2.469 kB / 1.463 GB, free: 164.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/1.422, allocations: 57.89 kB / 1.463 GB, free: 164.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006833/1.423, allocations: 268.7 kB / 1.463 GB, free: 164.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/1.423, allocations: 11.89 kB / 1.463 GB, free: 164.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/1.428, allocations: 6.7 MB / 1.469 GB, free: 159.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.428, allocations: 1 kB / 1.469 GB, free: 159.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/1.429, allocations: 1.052 MB / 1.47 GB, free: 159.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003826/1.43, allocations: 190.9 kB / 1.471 GB, free: 159 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.43, allocations: 14.41 kB / 1.471 GB, free: 159 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/1.43, allocations: 28.17 kB / 1.471 GB, free: 159 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.43, allocations: 49.75 kB / 1.471 GB, free: 159 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/1.43, allocations: 14.22 kB / 1.471 GB, free: 159 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005734/1.431, allocations: 382.1 kB / 1.471 GB, free: 158.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.431, allocations: 0.5625 kB / 1.471 GB, free: 158.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001102/1.432, allocations: 231.9 kB / 1.471 GB, free: 158.9 MB / 0.9167 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 (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,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/1.432, allocations: 117.1 kB / 1.471 GB, free: 158.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001803/1.434, allocations: 1.26 MB / 1.473 GB, free: 158.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.434, allocations: 0 / 1.473 GB, free: 158.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009877/1.435, allocations: 0.8884 MB / 1.473 GB, free: 157.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/1.436, allocations: 199.6 kB / 1.474 GB, free: 157.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/1.438, allocations: 1.572 MB / 1.475 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/1.438, allocations: 1.034 MB / 1.476 GB, free: 155.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003691/1.439, allocations: 123.3 kB / 1.476 GB, free: 155.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.361e-05/1.439, allocations: 42.09 kB / 1.476 GB, free: 155.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.133e-06/1.439, allocations: 0 / 1.476 GB, free: 155.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.01471/1.453, allocations: 10.32 MB / 1.486 GB, free: 154.5 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches