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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007314/0.007314, allocations: 102 kB / 15.73 MB, free: 6.039 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.001664/0.001664, allocations: 194 kB / 16.67 MB, free: 5.961 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.71/2.71, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 60.12 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9634/0.965, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005417/0.9704, allocations: 3.861 MB / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.9733, allocations: 1.765 MB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.9735, allocations: 15.88 kB / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.9749, allocations: 442.2 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.9754, allocations: 254.8 kB / 1.214 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.976, allocations: 251 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.9765, allocations: 0.4906 MB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.9771, allocations: 356.7 kB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.9773, allocations: 203.3 kB / 1.215 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.9777, allocations: 231.1 kB / 1.215 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.9777, allocations: 32 kB / 1.215 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.978, allocations: 179.6 kB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.9782, allocations: 135.6 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.9783, allocations: 175.1 kB / 1.216 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.9789, allocations: 0.4886 MB / 1.216 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9789, allocations: 0 / 1.216 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9789, allocations: 0 / 1.216 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.9789, allocations: 0 / 1.216 GB, free: 4.734 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.001136/0.9801, allocations: 0.6587 MB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.9801, allocations: 12.02 kB / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005372/0.9807, allocations: 84.42 kB / 1.217 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.9811, allocations: 303.5 kB / 1.217 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.9812, allocations: 25.02 kB / 1.217 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.9812, allocations: 32.38 kB / 1.217 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007966/0.982, allocations: 494 kB / 1.218 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.982, allocations: 0 / 1.218 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.9821, allocations: 19.97 kB / 1.218 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.791e-05/0.9821, allocations: 40.62 kB / 1.218 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/0.9829, allocations: 370.2 kB / 1.218 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.985, allocations: 2.025 MB / 1.22 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.9856, allocations: 214.6 kB / 1.22 GB, free: 168 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.986, allocations: 150.5 kB / 1.221 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.986, allocations: 12 kB / 1.221 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.9861, allocations: 30.56 kB / 1.221 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.9861, allocations: 0 / 1.221 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.001114/0.9872, allocations: 423 kB / 1.221 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.9873, allocations: 55.41 kB / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.9875, allocations: 258.7 kB / 1.221 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.9876, allocations: 25.7 kB / 1.221 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.9877, allocations: 219.6 kB / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.9878, allocations: 63.09 kB / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.9879, allocations: 61.89 kB / 1.222 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.988, allocations: 342.7 kB / 1.222 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.9883, allocations: 97.91 kB / 1.222 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.9886, allocations: 199.6 kB / 1.222 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.9892, allocations: 311.5 kB / 1.223 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9892, allocations: 4 kB / 1.223 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007135/0.9899, allocations: 359.6 kB / 1.223 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.9899, allocations: 8 kB / 1.223 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9899, allocations: 4 kB / 1.223 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.9901, allocations: 28.84 kB / 1.223 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.9904, allocations: 67.89 kB / 1.223 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.9919, allocations: 1.441 MB / 1.224 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.9921, allocations: 39.67 kB / 1.225 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.9921, allocations: 8 kB / 1.225 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003504/0.9925, allocations: 220.6 kB / 1.225 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000308/0.9928, allocations: 233.5 kB / 1.225 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005338/0.9934, allocations: 315.1 kB / 1.225 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.998e-06/0.9934, allocations: 4 kB / 1.225 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006581/0.994, allocations: 338.4 kB / 1.226 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.994, allocations: 8 kB / 1.226 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.9941, allocations: 4 kB / 1.226 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.9941, allocations: 4.5 kB / 1.226 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.9943, allocations: 75.89 kB / 1.226 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.9943, allocations: 11.94 kB / 1.226 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.9946, allocations: 35.77 kB / 1.226 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.9946, allocations: 12 kB / 1.226 GB, free: 10.32 MB / 0.9512 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.0001289/0.9947, allocations: 200.1 kB / 1.226 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.9948, allocations: 27.7 kB / 1.226 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.9948, allocations: 34.19 kB / 1.226 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.9949, allocations: 0 / 1.226 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.9949, allocations: 0 / 1.226 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.9949, allocations: 3.984 kB / 1.226 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.996, allocations: 0.7558 MB / 1.227 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.996, allocations: 3.938 kB / 1.227 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.9962, allocations: 35.97 kB / 1.227 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.464e-05/0.9963, allocations: 24.84 kB / 1.227 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.9964, allocations: 4 kB / 1.227 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.9974, allocations: 1.43 MB / 1.228 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9974, allocations: 0 / 1.228 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.998, allocations: 367 kB / 1.229 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.9981, allocations: 124.8 kB / 1.229 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.9982, allocations: 4 kB / 1.229 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.9984, allocations: 15.98 kB / 1.229 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.9984, allocations: 11.98 kB / 1.229 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.9984, allocations: 11.92 kB / 1.229 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001682/0.9986, allocations: 190 kB / 1.229 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9986, allocations: 0 / 1.229 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005478/0.9992, allocations: 139.5 kB / 1.229 GB, free: 6.699 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.0001354/0.9993, allocations: 107.2 kB / 1.229 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001055/1, allocations: 499.8 kB / 1.23 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1, allocations: 0 / 1.23 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004509/1.001, allocations: 222.8 kB / 1.23 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/1.001, allocations: 80.17 kB / 1.23 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/1.002, allocations: 0.5491 MB / 1.23 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/1.003, allocations: 0.7957 MB / 1.231 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001847/1.003, allocations: 66.22 kB / 1.231 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/1.003, allocations: 27.44 kB / 1.231 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/1.003, allocations: 0 / 1.231 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of Templates: time 0.007393/1.01, allocations: 3.634 MB / 1.235 GB, free: 0.6875 MB / 0.9512 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 -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/jenkins/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