Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005513/0.005513, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001184/0.001184, allocations: 194.3 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.815/2.815, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.84 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3433, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006677/0.35, allocations: 3.845 MB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003154/0.3532, allocations: 1.784 MB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.3536, allocations: 11.94 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.3551, allocations: 449.7 kB / 1.173 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007772/0.3558, allocations: 246.8 kB / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000751/0.3566, allocations: 251.5 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000769/0.3574, allocations: 498.4 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006332/0.358, allocations: 368.8 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.3583, allocations: 199.3 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000381/0.3587, allocations: 239.1 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.69e-05/0.3588, allocations: 32 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.3591, allocations: 179.6 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.3593, allocations: 131.7 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.3595, allocations: 179.1 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000621/0.3601, allocations: 498.1 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3601, allocations: 0 / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.165e-06/0.3601, allocations: 4 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3601, allocations: 4 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001173/0.3613, allocations: 0.6699 MB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3614, allocations: 8.031 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005469/0.3619, allocations: 92.58 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.3623, allocations: 299.8 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3624, allocations: 25.02 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.3624, allocations: 24.38 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008463/0.3633, allocations: 490 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.3633, allocations: 4 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.3634, allocations: 11.98 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/0.3634, allocations: 40.62 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.3643, allocations: 374.2 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.3668, allocations: 2.029 MB / 1.179 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.3674, allocations: 214.7 kB / 1.179 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.3678, allocations: 160.8 kB / 1.18 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.3679, allocations: 0 / 1.18 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3679, allocations: 34.56 kB / 1.18 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.3679, allocations: 0 / 1.18 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.001103/0.369, allocations: 421.2 kB / 1.18 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3691, allocations: 55.41 kB / 1.18 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.3694, allocations: 262.7 kB / 1.18 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3694, allocations: 29.7 kB / 1.18 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.3696, allocations: 216.2 kB / 1.181 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.3696, allocations: 63.48 kB / 1.181 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.696e-05/0.3698, allocations: 61.94 kB / 1.181 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3699, allocations: 338.8 kB / 1.181 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.3702, allocations: 97.91 kB / 1.181 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.3705, allocations: 207.5 kB / 1.181 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005592/0.3711, allocations: 319.1 kB / 1.182 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3711, allocations: 0 / 1.182 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007429/0.3718, allocations: 356 kB / 1.182 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.3719, allocations: 7.938 kB / 1.182 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3719, allocations: 11.92 kB / 1.182 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.3721, allocations: 36.83 kB / 1.182 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.3724, allocations: 76 kB / 1.182 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.3737, allocations: 1.441 MB / 1.183 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.374, allocations: 47.7 kB / 1.183 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.374, allocations: 8 kB / 1.183 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000339/0.3743, allocations: 212.6 kB / 1.184 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003193/0.3747, allocations: 221 kB / 1.184 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005499/0.3752, allocations: 319 kB / 1.184 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/0.3752, allocations: 0 / 1.184 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006578/0.3759, allocations: 341 kB / 1.185 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.3759, allocations: 4 kB / 1.185 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3759, allocations: 8.5 kB / 1.185 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.012e-06/0.3759, allocations: 8 kB / 1.185 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3762, allocations: 67.89 kB / 1.185 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3762, allocations: 8 kB / 1.185 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.3764, allocations: 31.86 kB / 1.185 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.3765, allocations: 16 kB / 1.185 GB, free: 3.508 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.3766, allocations: 208 kB / 1.185 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.3767, allocations: 31.81 kB / 1.185 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.329e-05/0.3768, allocations: 30.17 kB / 1.185 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3768, allocations: 4 kB / 1.185 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.3768, allocations: 0 / 1.185 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3768, allocations: 0 / 1.185 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.378, allocations: 0.7518 MB / 1.186 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.378, allocations: 4 kB / 1.186 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.3782, allocations: 39.91 kB / 1.186 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.544e-05/0.3783, allocations: 24.84 kB / 1.186 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3783, allocations: 8.109 kB / 1.186 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.3794, allocations: 1.43 MB / 1.187 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3794, allocations: 3.938 kB / 1.187 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.38, allocations: 368 kB / 1.187 GB, free: 380 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3801, allocations: 124.8 kB / 1.188 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.3802, allocations: 4 kB / 1.188 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3804, allocations: 15.97 kB / 1.188 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.3804, allocations: 19.89 kB / 1.188 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3805, allocations: 11.88 kB / 1.188 GB, free: 184 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001856/0.3806, allocations: 194 kB / 1.188 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3807, allocations: 0 / 1.188 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005642/0.3812, allocations: 135.7 kB / 1.188 GB, free: 15.86 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001276/0.3814, allocations: 107.1 kB / 1.188 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.3824, allocations: 491.9 kB / 1.189 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3824, allocations: 0 / 1.189 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.3828, allocations: 226.6 kB / 1.189 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.3833, allocations: 68.47 kB / 1.189 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/0.3843, allocations: 0.5484 MB / 1.189 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3847, allocations: 0.7996 MB / 1.19 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.3849, allocations: 74.2 kB / 1.19 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.385, allocations: 23.44 kB / 1.19 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.385, allocations: 0 / 1.19 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of Templates: time 0.007741/0.3928, allocations: 3.577 MB / 1.194 GB, free: 9.902 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches