Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_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_latest_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.001371/0.001371, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001303/0.001303, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.548/2.548, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 64.16 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3212, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005745/0.327, allocations: 3.877 MB / 1.031 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002996/0.33, allocations: 1.773 MB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.3303, allocations: 7.938 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.3316, allocations: 449.6 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.3322, allocations: 250.8 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.3329, allocations: 247.5 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005782/0.3335, allocations: 498.4 kB / 1.034 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005792/0.3341, allocations: 360.8 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.3343, allocations: 191.4 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.3347, allocations: 247 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.3348, allocations: 28 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.3351, allocations: 187.6 kB / 1.035 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.3353, allocations: 131.7 kB / 1.035 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.3355, allocations: 175.1 kB / 1.035 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.3361, allocations: 498.3 kB / 1.035 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3361, allocations: 0 / 1.035 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3361, allocations: 0 / 1.035 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.3361, allocations: 0 / 1.035 GB, free: 9.18 MB / 0.8106 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.001162/0.3373, allocations: 0.6603 MB / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3373, allocations: 8.031 kB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.3379, allocations: 92.39 kB / 1.036 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.3384, allocations: 295.6 kB / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.3384, allocations: 25.02 kB / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.3385, allocations: 28.38 kB / 1.036 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007877/0.3392, allocations: 494 kB / 1.037 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3393, allocations: 0 / 1.037 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.3393, allocations: 15.98 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.3394, allocations: 40.62 kB / 1.037 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/0.3401, allocations: 366.2 kB / 1.037 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.3424, allocations: 2.025 MB / 1.039 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.343, allocations: 214.7 kB / 1.039 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.3434, allocations: 160.7 kB / 1.04 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3434, allocations: 4 kB / 1.04 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.3434, allocations: 38.5 kB / 1.04 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3434, allocations: 0 / 1.04 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.001161/0.3446, allocations: 423 kB / 1.04 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.3447, allocations: 55.39 kB / 1.04 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.3449, allocations: 262.6 kB / 1.04 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.345, allocations: 33.7 kB / 1.04 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3451, allocations: 207.7 kB / 1.041 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.3452, allocations: 67.05 kB / 1.041 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.3452, allocations: 57.97 kB / 1.041 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3454, allocations: 334.8 kB / 1.041 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.3456, allocations: 97.91 kB / 1.041 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.3459, allocations: 212 kB / 1.041 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.3465, allocations: 311.8 kB / 1.042 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3465, allocations: 4 kB / 1.042 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007359/0.3472, allocations: 357.9 kB / 1.042 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3473, allocations: 8 kB / 1.042 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3473, allocations: 7.984 kB / 1.042 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/0.3475, allocations: 28.84 kB / 1.042 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.3478, allocations: 72.08 kB / 1.042 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.349, allocations: 1.437 MB / 1.044 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.3493, allocations: 43.58 kB / 1.044 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.3493, allocations: 16 kB / 1.044 GB, free: 104 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003477/0.3497, allocations: 220.7 kB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002931/0.35, allocations: 213 kB / 1.044 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005052/0.3505, allocations: 314.9 kB / 1.044 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.317e-06/0.3505, allocations: 3.984 kB / 1.044 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000641/0.3512, allocations: 332.9 kB / 1.045 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.547e-06/0.3512, allocations: 8.5 kB / 1.045 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3512, allocations: 11.94 kB / 1.045 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.3512, allocations: 11.98 kB / 1.045 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.3515, allocations: 67.91 kB / 1.045 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3515, allocations: 11.92 kB / 1.045 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.3517, allocations: 35.73 kB / 1.045 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.3518, allocations: 16 kB / 1.045 GB, free: 14.76 MB / 0.8262 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.0001197/0.3519, allocations: 204 kB / 1.045 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.352, allocations: 27.72 kB / 1.045 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.088e-05/0.352, allocations: 30.17 kB / 1.045 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.352, allocations: 4 kB / 1.045 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3521, allocations: 0 / 1.045 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3521, allocations: 0 / 1.045 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3532, allocations: 0.7562 MB / 1.046 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3532, allocations: 0 / 1.046 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.3534, allocations: 43.97 kB / 1.046 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.3536, allocations: 28.89 kB / 1.046 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.3536, allocations: 4 kB / 1.046 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.3546, allocations: 1.43 MB / 1.047 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3546, allocations: 0 / 1.047 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006041/0.3552, allocations: 369.6 kB / 1.048 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3554, allocations: 112.8 kB / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.3554, allocations: 7.984 kB / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.3556, allocations: 15.98 kB / 1.048 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.3557, allocations: 15.98 kB / 1.048 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3557, allocations: 11.94 kB / 1.048 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001636/0.3559, allocations: 182 kB / 1.048 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.733e-06/0.3559, allocations: 0 / 1.048 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006287/0.3565, allocations: 151.5 kB / 1.048 GB, free: 11.12 MB / 0.8262 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.0001541/0.3567, allocations: 103.2 kB / 1.048 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.3579, allocations: 493.6 kB / 1.049 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.3579, allocations: 8.062 kB / 1.049 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.3583, allocations: 206.6 kB / 1.049 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.3588, allocations: 75.69 kB / 1.049 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.3599, allocations: 0.5451 MB / 1.049 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.3604, allocations: 0.8035 MB / 1.05 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002262/0.3607, allocations: 74.2 kB / 1.05 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.3607, allocations: 19.44 kB / 1.05 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of SimCode: time 7.71e-07/0.3607, allocations: 4 kB / 1.05 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.00777/0.3685, allocations: 3.522 MB / 1.054 GB, free: 5.238 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches