Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.964/2.964, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.89 kB / 1.107 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 168.7 MB / 1.272 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005174/1.077, allocations: 4.001 MB / 1.276 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002577/1.079, allocations: 1.823 MB / 1.278 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/1.079, allocations: 10.62 kB / 1.278 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/1.081, allocations: 465.8 kB / 1.278 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004993/1.081, allocations: 257.5 kB / 1.278 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/1.082, allocations: 247.7 kB / 1.279 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005519/1.082, allocations: 0.4928 MB / 1.279 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/1.083, allocations: 270.1 kB / 1.279 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/1.083, allocations: 193.7 kB / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/1.083, allocations: 245.1 kB / 1.28 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/1.083, allocations: 29.94 kB / 1.28 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/1.084, allocations: 195.2 kB / 1.28 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/1.084, allocations: 132.7 kB / 1.28 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/1.084, allocations: 187.1 kB / 1.28 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006318/1.085, allocations: 493.3 kB / 1.281 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.085, allocations: 0.5625 kB / 1.281 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/1.085, allocations: 0 / 1.281 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.716e-06/1.085, allocations: 1.188 kB / 1.281 GB, free: 2.809 MB / 0.9981 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.001026/1.086, allocations: 0.6764 MB / 1.281 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/1.086, allocations: 11.22 kB / 1.281 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005209/1.086, allocations: 81.41 kB / 1.281 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/1.087, allocations: 308.3 kB / 1.282 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.087, allocations: 23.2 kB / 1.282 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/1.087, allocations: 27.25 kB / 1.282 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/1.088, allocations: 489.7 kB / 1.282 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/1.088, allocations: 0 / 1.282 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/1.088, allocations: 15.92 kB / 1.282 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/1.088, allocations: 39.16 kB / 1.282 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/1.088, allocations: 366.7 kB / 1.283 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/1.09, allocations: 2.03 MB / 1.285 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/1.091, allocations: 205.3 kB / 1.285 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/1.091, allocations: 147.1 kB / 1.285 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/1.091, allocations: 0.7031 kB / 1.285 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/1.091, allocations: 37.25 kB / 1.285 GB, free: 15.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/1.091, allocations: 4 kB / 1.285 GB, free: 15.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001112/1.092, allocations: 420.8 kB / 1.285 GB, free: 15.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/1.092, allocations: 66.72 kB / 1.285 GB, free: 15.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/1.093, allocations: 260.1 kB / 1.286 GB, free: 15.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/1.093, allocations: 35.8 kB / 1.286 GB, free: 15.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/1.093, allocations: 213.7 kB / 1.286 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/1.093, allocations: 62.97 kB / 1.286 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/1.093, allocations: 61.38 kB / 1.286 GB, free: 14.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.093, allocations: 335.4 kB / 1.286 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/1.093, allocations: 105.1 kB / 1.287 GB, free: 14.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/1.094, allocations: 209.1 kB / 1.287 GB, free: 14.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/1.094, allocations: 305.7 kB / 1.287 GB, free: 14.19 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.094, allocations: 1.125 kB / 1.287 GB, free: 14.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007644/1.095, allocations: 360.6 kB / 1.287 GB, free: 14.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.095, allocations: 9.438 kB / 1.287 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.095, allocations: 6.938 kB / 1.287 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/1.095, allocations: 34.52 kB / 1.287 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/1.096, allocations: 68.56 kB / 1.287 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/1.097, allocations: 1.434 MB / 1.289 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/1.097, allocations: 43.58 kB / 1.289 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/1.097, allocations: 17.22 kB / 1.289 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003699/1.098, allocations: 219.8 kB / 1.289 GB, free: 12.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003265/1.098, allocations: 206.5 kB / 1.289 GB, free: 12.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005626/1.098, allocations: 326.7 kB / 1.29 GB, free: 12.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/1.098, allocations: 1.094 kB / 1.29 GB, free: 12.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006668/1.099, allocations: 336.9 kB / 1.29 GB, free: 11.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.099, allocations: 6.938 kB / 1.29 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.099, allocations: 5.188 kB / 1.29 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.211e-06/1.099, allocations: 6.312 kB / 1.29 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/1.099, allocations: 72.61 kB / 1.29 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.099, allocations: 9.953 kB / 1.29 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/1.1, allocations: 40.59 kB / 1.29 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/1.1, allocations: 15.06 kB / 1.29 GB, free: 11.86 MB / 1.014 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.0001536/1.1, allocations: 199 kB / 1.29 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/1.1, allocations: 24.42 kB / 1.29 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/1.1, allocations: 32.25 kB / 1.29 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/1.1, allocations: 2.25 kB / 1.29 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.1, allocations: 1.953 kB / 1.29 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.1, allocations: 8.797 kB / 1.29 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/1.101, allocations: 0.7502 MB / 1.291 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.101, allocations: 4.062 kB / 1.291 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/1.101, allocations: 37.08 kB / 1.291 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/1.102, allocations: 27.17 kB / 1.291 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/1.102, allocations: 5.844 kB / 1.291 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/1.103, allocations: 1.421 MB / 1.293 GB, free: 9.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.103, allocations: 8.656 kB / 1.293 GB, free: 9.656 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006589/1.103, allocations: 365.8 kB / 1.293 GB, free: 9.426 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/1.104, allocations: 120.6 kB / 1.293 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/1.104, allocations: 10 kB / 1.293 GB, free: 9.301 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/1.104, allocations: 18.97 kB / 1.293 GB, free: 9.297 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/1.104, allocations: 12.06 kB / 1.293 GB, free: 9.297 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/1.104, allocations: 12.59 kB / 1.293 GB, free: 9.289 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001906/1.104, allocations: 183.5 kB / 1.293 GB, free: 9.184 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.104, allocations: 0 / 1.293 GB, free: 9.184 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000603/1.105, allocations: 143.7 kB / 1.293 GB, free: 9.148 MB / 1.014 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.0001316/1.105, allocations: 108.7 kB / 1.294 GB, free: 9.051 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001078/1.106, allocations: 481 kB / 1.294 GB, free: 8.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.106, allocations: 0 / 1.294 GB, free: 8.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003572/1.106, allocations: 214.9 kB / 1.294 GB, free: 8.703 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/1.107, allocations: 84.14 kB / 1.294 GB, free: 8.668 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/1.108, allocations: 0.5697 MB / 1.295 GB, free: 8.324 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/1.108, allocations: 0.7985 MB / 1.296 GB, free: 7.609 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002284/1.108, allocations: 68.53 kB / 1.296 GB, free: 7.602 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/1.108, allocations: 23.52 kB / 1.296 GB, free: 7.594 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/1.108, allocations: 0 / 1.296 GB, free: 7.594 MB / 1.014 GB Notification: Performance of Templates: time 0.009146/1.118, allocations: 3.667 MB / 1.299 GB, free: 7.336 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.49837953131646]