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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009889/0.0009891, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001143/0.001143, allocations: 172.7 kB / 15.95 MB, free: 208 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.589/1.589, allocations: 223.3 MB / 240 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.023/3.023, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004643, allocations: 8.188 kB / 0.9021 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3424, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003057/0.3455, allocations: 2.258 MB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.3477, allocations: 1.24 MB / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3478, allocations: 4 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.348, allocations: 23.78 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.3484, allocations: 119.5 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.3488, allocations: 142.3 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.3491, allocations: 295.1 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006381/0.3498, allocations: 290 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.35, allocations: 87.7 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.3503, allocations: 115.6 kB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.3503, allocations: 8 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.3505, allocations: 75.88 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.3506, allocations: 51.81 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.3507, allocations: 57.64 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.351, allocations: 215.6 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.351, allocations: 0 / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of FrontEnd: time 3.196e-06/0.351, allocations: 0 / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.351, allocations: 8 kB / 1.063 GB, free: 328 kB / 0.8106 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.0008695/0.3519, allocations: 466.9 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3519, allocations: 8.031 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005271/0.3525, allocations: 75.62 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.3528, allocations: 228.3 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3528, allocations: 16.27 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.3529, allocations: 12 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.3535, allocations: 312.5 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3535, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.3535, allocations: 8 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.3536, allocations: 24.27 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.3541, allocations: 272.5 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.3558, allocations: 1.506 MB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.3563, allocations: 273 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.3565, allocations: 133.6 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3566, allocations: 8 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.3566, allocations: 34.56 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.3566, allocations: 0 / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0007977/0.3574, allocations: 357.3 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.3575, allocations: 77.11 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.3576, allocations: 179.1 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.3577, allocations: 29.7 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.3578, allocations: 144 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.3578, allocations: 59.2 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.3579, allocations: 4 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.358, allocations: 330.8 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.3582, allocations: 107.9 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.3585, allocations: 167.6 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.3587, allocations: 126.5 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.3587, allocations: 4 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005565/0.3593, allocations: 317.4 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.813e-05/0.3594, allocations: 144.6 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3594, allocations: 3.984 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3594, allocations: 4 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.3597, allocations: 55.89 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3598, allocations: 7.953 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3599, allocations: 43.72 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.36, allocations: 12 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.36, allocations: 8 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004507/0.3605, allocations: 242.6 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-06/0.3605, allocations: 224 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/0.3605, allocations: 8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3607, allocations: 55.89 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3607, allocations: 4 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.3609, allocations: 31.81 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3609, allocations: 8 kB / 1.069 GB, free: 10.1 MB / 0.8262 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.0001714/0.3611, allocations: 224.9 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.3611, allocations: 15.91 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.3617, allocations: 274.9 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3617, allocations: 7.938 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3617, allocations: 0 / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3617, allocations: 0 / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3628, allocations: 0.6889 MB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3628, allocations: 4.125 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.363, allocations: 51.83 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.363, allocations: 4 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.3631, allocations: 11.94 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3631, allocations: 0 / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3631, allocations: 4 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.3636, allocations: 461.8 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3638, allocations: 116.9 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.3638, allocations: 8 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.364, allocations: 19.97 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.3641, allocations: 11.98 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3641, allocations: 7.953 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001142/0.3642, allocations: 131.2 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3642, allocations: 0 / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005002/0.3647, allocations: 91.78 kB / 1.071 GB, free: 7.859 MB / 0.8262 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.0001225/0.3648, allocations: 103 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008151/0.3657, allocations: 386.5 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3657, allocations: 0 / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.3659, allocations: 116.7 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.3664, allocations: 36.72 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/0.3672, allocations: 0.499 MB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3676, allocations: 0.7441 MB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.3678, allocations: 73.47 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.3679, allocations: 19.44 kB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3679, allocations: 0 / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of Templates: time 0.005241/0.3731, allocations: 2.083 MB / 1.075 GB, free: 3.754 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches