Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 175.3 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.008/3.008, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 1 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.878e-05, allocations: 2.281 kB / 1 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002303/0.002332, allocations: 1.234 MB / 1.001 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009638/0.003296, allocations: 394.6 kB / 1.002 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.003323, allocations: 0 / 1.002 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.509e-05/0.003408, allocations: 0 / 1.002 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 1.94e-05/0.003428, allocations: 3.938 kB / 1.002 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.003958, allocations: 103.6 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.435e-05/0.004043, allocations: 23.91 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.004087, allocations: 0 / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.952e-05/0.004127, allocations: 11.98 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.377e-05/0.00415, allocations: 4 kB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.00417, allocations: 4 kB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.004469, allocations: 127.7 kB / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.004521, allocations: 23.92 kB / 1.002 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.004552, allocations: 11.88 kB / 1.002 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.004793, allocations: 123.6 kB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004795, allocations: 0 / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004796, allocations: 0 / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.004799, allocations: 0 / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005609/0.00536, allocations: 334.7 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.005399, allocations: 12.03 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.005501, allocations: 12.84 kB / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.005629, allocations: 117.7 kB / 1.003 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.005644, allocations: 384 / 1.003 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.00566, allocations: 4.375 kB / 1.003 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.005874, allocations: 154.5 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.005885, allocations: 192 / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.005898, allocations: 4.375 kB / 1.003 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.005903, allocations: 384 / 1.003 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.005979, allocations: 59.92 kB / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.006141, allocations: 121.2 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.006252, allocations: 86.5 kB / 1.003 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.006324, allocations: 64.88 kB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.006337, allocations: 0 / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.006565, allocations: 179.7 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=36): time 1.152e-06/0.006566, allocations: 0 / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36): time 0.000549/0.007115, allocations: 389 kB / 1.004 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.007186, allocations: 87.38 kB / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.007293, allocations: 125.7 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.007343, allocations: 53.67 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.007398, allocations: 84.8 kB / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.007504, allocations: 107.2 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.007608, allocations: 86 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.007766, allocations: 330.8 kB / 1.004 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.00795, allocations: 144.9 kB / 1.005 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.008213, allocations: 205.1 kB / 1.005 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.008686, allocations: 388.4 kB / 1.005 GB, free: 2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.008688, allocations: 0 / 1.005 GB, free: 2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005741/0.009262, allocations: 434.5 kB / 1.006 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.009277, allocations: 4 kB / 1.006 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.009284, allocations: 0 / 1.006 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.009304, allocations: 4 kB / 1.006 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.009414, allocations: 15.94 kB / 1.006 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.009424, allocations: 11.92 kB / 1.006 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.00949, allocations: 31.73 kB / 1.006 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.00951, allocations: 12 kB / 1.006 GB, free: 1.492 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 69 (state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],y,$PRE.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.009706, allocations: 182.3 kB / 1.006 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.009724, allocations: 11.91 kB / 1.006 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.009758, allocations: 13.31 kB / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.009759, allocations: 0 / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.009764, allocations: 0 / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.009768, allocations: 7.938 kB / 1.006 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.009889, allocations: 113.2 kB / 1.006 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.009895, allocations: 3.984 kB / 1.006 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-05/0.009909, allocations: 0 / 1.006 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.009911, allocations: 0 / 1.006 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.009921, allocations: 4 kB / 1.006 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.009922, allocations: 7.875 kB / 1.006 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.009923, allocations: 0 / 1.006 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.01031, allocations: 327.6 kB / 1.006 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.01033, allocations: 11.89 kB / 1.006 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.01036, allocations: 23.98 kB / 1.006 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.611e-05/0.01038, allocations: 4 kB / 1.006 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.01041, allocations: 3.984 kB / 1.006 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-06/0.01042, allocations: 4 kB / 1.006 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.01046, allocations: 79.22 kB / 1.006 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.01046, allocations: 0 / 1.006 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002791/0.01074, allocations: 51.92 kB / 1.006 GB, free: 0.5977 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 ($whenCondition1,y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004909/0.01123, allocations: 211.7 kB / 1.007 GB, free: 412 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.01161, allocations: 268.7 kB / 1.007 GB, free: 144 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01162, allocations: 0 / 1.007 GB, free: 144 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.01169, allocations: 75.95 kB / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.01186, allocations: 0 / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.01232, allocations: 283.1 kB / 1.007 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.695e-05/0.01242, allocations: 97.31 kB / 1.007 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.01246, allocations: 16.64 kB / 1.007 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.01249, allocations: 16.44 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.01249, allocations: 0 / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of Templates: time 0.005102/0.01759, allocations: 1.574 MB / 1.009 GB, free: 14.07 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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: 8.286217506974936]