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.006627/0.006627, allocations: 98.97 kB / 15.73 MB, free: 6.004 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.001236/0.001236, allocations: 192.6 kB / 16.67 MB, free: 5.93 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.417/2.417, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.91 kB / 1.018 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.053, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005664/1.059, allocations: 3.868 MB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003289/1.062, allocations: 1.769 MB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/1.062, allocations: 19.88 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/1.064, allocations: 442.3 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006287/1.064, allocations: 250.8 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006805/1.065, allocations: 254.2 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005743/1.066, allocations: 0.4946 MB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005953/1.066, allocations: 348.9 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/1.067, allocations: 195.3 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/1.067, allocations: 235.1 kB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/1.067, allocations: 36 kB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/1.068, allocations: 179.6 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/1.068, allocations: 139.6 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/1.068, allocations: 175.1 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007082/1.069, allocations: 0.4908 MB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.069, allocations: 0 / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.703e-06/1.069, allocations: 4 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.678e-06/1.069, allocations: 0 / 1.175 GB, free: 10.99 MB / 0.9044 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.001246/1.07, allocations: 0.666 MB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.07, allocations: 8.922 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/1.071, allocations: 92.58 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/1.071, allocations: 301.3 kB / 1.176 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/1.071, allocations: 25.02 kB / 1.176 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/1.071, allocations: 24.38 kB / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/1.072, allocations: 493.9 kB / 1.177 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/1.072, allocations: 0 / 1.177 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/1.072, allocations: 15.98 kB / 1.177 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.255e-05/1.072, allocations: 40.62 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007444/1.073, allocations: 370.2 kB / 1.177 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/1.075, allocations: 2.037 MB / 1.179 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/1.076, allocations: 214.7 kB / 1.179 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/1.076, allocations: 152.8 kB / 1.18 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/1.076, allocations: 0 / 1.18 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.076, allocations: 42.56 kB / 1.18 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/1.076, allocations: 3.938 kB / 1.18 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001115/1.077, allocations: 425.5 kB / 1.18 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/1.077, allocations: 51.41 kB / 1.18 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/1.078, allocations: 262.6 kB / 1.18 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/1.078, allocations: 33.7 kB / 1.18 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/1.078, allocations: 212.2 kB / 1.18 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/1.078, allocations: 71.41 kB / 1.181 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/1.078, allocations: 53.94 kB / 1.181 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.078, allocations: 342.8 kB / 1.181 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/1.078, allocations: 97.91 kB / 1.181 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/1.079, allocations: 208 kB / 1.181 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005752/1.079, allocations: 313.5 kB / 1.182 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.079, allocations: 0 / 1.182 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007716/1.08, allocations: 364.7 kB / 1.182 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.08, allocations: 8.062 kB / 1.182 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.08, allocations: 4 kB / 1.182 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/1.08, allocations: 32.84 kB / 1.182 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/1.081, allocations: 63.89 kB / 1.182 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/1.082, allocations: 1.445 MB / 1.183 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/1.082, allocations: 47.72 kB / 1.183 GB, free: 1.906 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/1.082, allocations: 8 kB / 1.183 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003654/1.083, allocations: 216.6 kB / 1.184 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003243/1.083, allocations: 228.9 kB / 1.184 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005626/1.084, allocations: 315.9 kB / 1.184 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.973e-06/1.084, allocations: 0 / 1.184 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006761/1.084, allocations: 338.5 kB / 1.184 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.084, allocations: 4 kB / 1.184 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.084, allocations: 4 kB / 1.185 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/1.084, allocations: 8 kB / 1.185 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/1.085, allocations: 72.36 kB / 1.185 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.085, allocations: 15.94 kB / 1.185 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/1.085, allocations: 27.88 kB / 1.185 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/1.085, allocations: 16 kB / 1.185 GB, free: 0.5547 MB / 0.9044 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.0001369/1.085, allocations: 204.1 kB / 1.185 GB, free: 356 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/1.085, allocations: 31.8 kB / 1.185 GB, free: 324 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/1.085, allocations: 26.19 kB / 1.185 GB, free: 292 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.085, allocations: 7.938 kB / 1.185 GB, free: 284 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.085, allocations: 4 kB / 1.185 GB, free: 280 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.085, allocations: 3.984 kB / 1.185 GB, free: 276 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/1.086, allocations: 0.7523 MB / 1.186 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.086, allocations: 4 kB / 1.186 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.087, allocations: 35.97 kB / 1.186 GB, free: 15.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/1.087, allocations: 28.84 kB / 1.186 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/1.087, allocations: 0 / 1.186 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/1.088, allocations: 1.422 MB / 1.187 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.088, allocations: 8.125 kB / 1.187 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/1.088, allocations: 365.7 kB / 1.187 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/1.089, allocations: 132.8 kB / 1.188 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/1.089, allocations: 0 / 1.188 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/1.089, allocations: 15.98 kB / 1.188 GB, free: 13.26 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/1.089, allocations: 19.89 kB / 1.188 GB, free: 13.24 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/1.089, allocations: 7.938 kB / 1.188 GB, free: 13.23 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001817/1.089, allocations: 186 kB / 1.188 GB, free: 13.05 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.41e-07/1.089, allocations: 0 / 1.188 GB, free: 13.05 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006041/1.09, allocations: 143.7 kB / 1.188 GB, free: 12.91 MB / 0.92 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.0001424/1.09, allocations: 111.2 kB / 1.188 GB, free: 12.79 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001098/1.091, allocations: 490.6 kB / 1.189 GB, free: 12.29 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.091, allocations: 0 / 1.189 GB, free: 12.29 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/1.091, allocations: 232 kB / 1.189 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/1.092, allocations: 69.38 kB / 1.189 GB, free: 11.99 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/1.093, allocations: 0.5424 MB / 1.189 GB, free: 11.42 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/1.093, allocations: 0.8035 MB / 1.19 GB, free: 10.59 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002183/1.094, allocations: 70.23 kB / 1.19 GB, free: 10.52 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/1.094, allocations: 27.38 kB / 1.19 GB, free: 10.5 MB / 0.92 GB Notification: Performance of SimCode: time 3.9e-07/1.094, allocations: 0 / 1.19 GB, free: 10.5 MB / 0.92 GB Notification: Performance of Templates: time 0.008108/1.102, allocations: 3.574 MB / 1.194 GB, free: 6.957 MB / 0.92 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