Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.413/2.413, allocations: 393.5 MB / 408.4 MB, free: 10.88 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.001191/0.001191, allocations: 186.9 kB / 0.4902 GB, free: 2.125 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.545/1.545, allocations: 223.2 MB / 0.7992 GB, free: 15.72 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.000965/0.000965, allocations: 102.8 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 9.906 kB / 1.09 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2843, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/0.5096, allocations: 166.3 MB / 1.392 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.51, allocations: 95.92 kB / 1.392 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7212/1.231, allocations: 14.79 MB / 1.406 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.148e-06/1.231, allocations: 0 / 1.406 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.441e-05/1.231, allocations: 1.875 kB / 1.406 GB, free: 169.4 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001029/1.232, allocations: 492.3 kB / 1.407 GB, free: 169 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.232, allocations: 9.562 kB / 1.407 GB, free: 169 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007128/1.233, allocations: 85 kB / 1.407 GB, free: 169 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/1.233, allocations: 237.9 kB / 1.407 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/1.234, allocations: 12.53 kB / 1.407 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/1.234, allocations: 10.09 kB / 1.407 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/1.234, allocations: 306.5 kB / 1.407 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.234, allocations: 1.375 kB / 1.407 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/1.234, allocations: 7.062 kB / 1.407 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/1.234, allocations: 23.02 kB / 1.407 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/1.235, allocations: 269 kB / 1.408 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/1.237, allocations: 1.51 MB / 1.409 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/1.237, allocations: 259.9 kB / 1.409 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/1.237, allocations: 7.219 kB / 1.409 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/1.237, allocations: 32.66 kB / 1.409 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 1.874e-06/1.237, allocations: 0.6562 kB / 1.409 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0008539/1.238, allocations: 356.8 kB / 1.41 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.238, allocations: 88.33 kB / 1.41 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/1.238, allocations: 163.4 kB / 1.41 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/1.238, allocations: 25.7 kB / 1.41 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/1.238, allocations: 144.7 kB / 1.41 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/1.238, allocations: 49.7 kB / 1.41 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/1.239, allocations: 7.594 kB / 1.41 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.418e-05/1.239, allocations: 326.8 kB / 1.41 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/1.239, allocations: 108.8 kB / 1.411 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/1.239, allocations: 169.9 kB / 1.411 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/1.239, allocations: 124.7 kB / 1.411 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.239, allocations: 1.469 kB / 1.411 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005765/1.24, allocations: 324.2 kB / 1.411 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/1.24, allocations: 0.7041 MB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.24, allocations: 3.781 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.24, allocations: 4.453 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/1.24, allocations: 58.2 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.24, allocations: 3.031 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/1.241, allocations: 35.41 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/1.241, allocations: 7.203 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/1.241, allocations: 4 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005102/1.241, allocations: 244.5 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.241, allocations: 3.047 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-06/1.241, allocations: 8.031 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/1.242, allocations: 55.5 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/1.242, allocations: 6.703 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/1.242, allocations: 31.28 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/1.242, allocations: 7.234 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/1.242, allocations: 221.6 kB / 1.412 GB, free: 165.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/1.242, allocations: 16.06 kB / 1.413 GB, free: 165.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005947/1.243, allocations: 283.3 kB / 1.413 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.243, allocations: 3.688 kB / 1.413 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.243, allocations: 0.9375 kB / 1.413 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/1.243, allocations: 5.109 kB / 1.413 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/1.244, allocations: 0.6909 MB / 1.413 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.244, allocations: 6.938 kB / 1.413 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/1.244, allocations: 46.42 kB / 1.414 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/1.244, allocations: 2.031 kB / 1.414 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/1.244, allocations: 7.094 kB / 1.414 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/1.244, allocations: 11.7 kB / 1.414 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.244, allocations: 1.094 kB / 1.414 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/1.245, allocations: 0.5101 MB / 1.414 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/1.245, allocations: 115.2 kB / 1.414 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/1.245, allocations: 3.812 kB / 1.414 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/1.245, allocations: 23.41 kB / 1.414 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.245, allocations: 20.3 kB / 1.414 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/1.245, allocations: 10.19 kB / 1.414 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001035/1.245, allocations: 134 kB / 1.414 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.4e-07/1.245, allocations: 0 / 1.414 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005398/1.246, allocations: 88.88 kB / 1.414 GB, free: 164.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001596/1.246, allocations: 112.8 kB / 1.415 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008315/1.247, allocations: 387.7 kB / 1.415 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.247, allocations: 3.406 kB / 1.415 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/1.247, allocations: 124.5 kB / 1.415 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/1.247, allocations: 33.09 kB / 1.415 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008404/1.248, allocations: 0.5005 MB / 1.416 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/1.249, allocations: 0.7464 MB / 1.416 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002402/1.249, allocations: 79.31 kB / 1.416 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/1.249, allocations: 22.14 kB / 1.416 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.794e-06/1.249, allocations: 0 / 1.416 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.005982/1.255, allocations: 2.076 MB / 1.418 GB, free: 163.5 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches