Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.01225/0.01225, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.002766/0.002766, allocations: 194.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.626/2.626, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 58.5 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3498, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004/0.3539, allocations: 2.64 MB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3559, allocations: 1.309 MB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.356, allocations: 7.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.3568, allocations: 187.1 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.3572, allocations: 163.3 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.3576, allocations: 166.5 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.3579, allocations: 267.1 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.3582, allocations: 149.4 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.3584, allocations: 99.67 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.3587, allocations: 127.5 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.3587, allocations: 16 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.359, allocations: 143.7 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.819e-05/0.3591, allocations: 67.81 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.3592, allocations: 95.52 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.3595, allocations: 291 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3596, allocations: 0 / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3596, allocations: 3.984 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.3596, allocations: 4 kB / 1.093 GB, free: 11.75 MB / 0.8575 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.0008283/0.3604, allocations: 495 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3605, allocations: 8.031 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.361, allocations: 72.56 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.3612, allocations: 243.9 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3613, allocations: 8.656 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.3613, allocations: 20.36 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.3618, allocations: 304.9 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3618, allocations: 0 / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3619, allocations: 7.984 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/0.3619, allocations: 28.27 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.3624, allocations: 256.5 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.364, allocations: 1.502 MB / 1.096 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.3645, allocations: 257 kB / 1.097 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.3647, allocations: 121.6 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3647, allocations: 8 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.3648, allocations: 42.53 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.3648, allocations: 0 / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0007441/0.3655, allocations: 341.2 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.3656, allocations: 81.09 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.3658, allocations: 179.3 kB / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3658, allocations: 25.7 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.3659, allocations: 147.9 kB / 1.097 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.3659, allocations: 55.19 kB / 1.098 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/0.366, allocations: 53.69 kB / 1.098 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3662, allocations: 322.8 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.3664, allocations: 108.8 kB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.3666, allocations: 176.4 kB / 1.098 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.3671, allocations: 273.4 kB / 1.098 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3671, allocations: 3.938 kB / 1.098 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00053/0.3676, allocations: 309.2 kB / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3676, allocations: 8 kB / 1.099 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3676, allocations: 0 / 1.099 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3677, allocations: 4 kB / 1.099 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.3679, allocations: 55.89 kB / 1.099 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3679, allocations: 4 kB / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.3681, allocations: 36.03 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.3682, allocations: 11.94 kB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002789/0.3684, allocations: 203.8 kB / 1.099 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002157/0.3687, allocations: 149.9 kB / 1.099 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000378/0.3691, allocations: 254.1 kB / 1.099 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.3691, allocations: 0 / 1.099 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004792/0.3696, allocations: 281.1 kB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3696, allocations: 4.25 kB / 1.1 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3696, allocations: 8 kB / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/0.3696, allocations: 4 kB / 1.1 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.3698, allocations: 51.89 kB / 1.1 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3698, allocations: 4 kB / 1.1 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.37, allocations: 27.83 kB / 1.1 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.37, allocations: 4 kB / 1.1 GB, free: 4.816 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.3701, allocations: 200.1 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.3702, allocations: 15.81 kB / 1.1 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.3707, allocations: 271 kB / 1.1 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3707, allocations: 0 / 1.1 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3707, allocations: 4 kB / 1.1 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3708, allocations: 3.984 kB / 1.1 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000997/0.3718, allocations: 0.6693 MB / 1.101 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3718, allocations: 7.984 kB / 1.101 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.372, allocations: 47.89 kB / 1.101 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.372, allocations: 4 kB / 1.101 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.372, allocations: 7.938 kB / 1.101 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.372, allocations: 0 / 1.101 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3721, allocations: 7.938 kB / 1.101 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.3726, allocations: 453 kB / 1.101 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.3727, allocations: 112.8 kB / 1.102 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.3728, allocations: 11.94 kB / 1.102 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.373, allocations: 27.97 kB / 1.102 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.373, allocations: 7.984 kB / 1.102 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.373, allocations: 4 kB / 1.102 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001058/0.3731, allocations: 131.2 kB / 1.102 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3731, allocations: 4 kB / 1.102 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004316/0.3736, allocations: 79.84 kB / 1.102 GB, free: 2.648 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.3737, allocations: 107.2 kB / 1.102 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007119/0.3744, allocations: 380.3 kB / 1.102 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3744, allocations: 0 / 1.102 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.3747, allocations: 119.9 kB / 1.102 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.3751, allocations: 47.97 kB / 1.102 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.3759, allocations: 442.7 kB / 1.103 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.3763, allocations: 0.7402 MB / 1.104 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001871/0.3765, allocations: 73.47 kB / 1.104 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.3766, allocations: 15.44 kB / 1.104 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.3766, allocations: 4 kB / 1.104 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of Templates: time 0.005095/0.3817, allocations: 2.339 MB / 1.106 GB, free: 14.34 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches