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.0008272/0.0008272, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008123/0.0008123, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8592/0.8592, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.704/1.704, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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.413e-06/1.413e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.193e-05, allocations: 5.234 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001478/0.0015, allocations: 1.235 MB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005806/0.00208, allocations: 403.3 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.002105, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.899e-05/0.002174, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.398e-05/0.002188, allocations: 3.938 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.002612, allocations: 103.6 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.002669, allocations: 15.92 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.002702, allocations: 7.984 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.002731, allocations: 4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.389e-05/0.002755, allocations: 15.98 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.002768, allocations: 0 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.002976, allocations: 123.7 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.003032, allocations: 23.92 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.003066, allocations: 11.88 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.003249, allocations: 119.6 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.003251, allocations: 0 / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.11e-07/0.003252, allocations: 4 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.003256, allocations: 0 / 1.003 GB, free: 11 MB / 0.9636 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.0004853/0.003741, allocations: 330.8 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.003775, allocations: 13.34 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.003846, allocations: 16.83 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.354e-05/0.00393, allocations: 117.6 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.003943, allocations: 4.375 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.003952, allocations: 384 / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.004088, allocations: 150.9 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.004096, allocations: 192 / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.004104, allocations: 384 / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.004109, allocations: 384 / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.004159, allocations: 71.91 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.004278, allocations: 113.2 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.318e-05/0.004351, allocations: 82.56 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.004396, allocations: 76.8 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.004406, allocations: 0 / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.004549, allocations: 172.5 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 5.81e-07/0.004549, allocations: 0 / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36): time 0.0003468/0.004896, allocations: 396.9 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.004941, allocations: 83.38 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.005003, allocations: 121.7 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.00503, allocations: 49.69 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.005056, allocations: 80.8 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.005114, allocations: 107.2 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.005176, allocations: 86 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.005258, allocations: 338.8 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.005376, allocations: 136.9 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.005516, allocations: 205 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.0058, allocations: 388.4 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.005802, allocations: 0 / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003356/0.006138, allocations: 438.5 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.006149, allocations: 4 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.006158, allocations: 4 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.00617, allocations: 0 / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.00624, allocations: 19.92 kB / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.006247, allocations: 7.938 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.006292, allocations: 35.73 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.006303, allocations: 12 kB / 1.006 GB, free: 7.199 MB / 0.9636 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.0001064/0.00641, allocations: 185.8 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.006418, allocations: 7.953 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.006437, allocations: 5.312 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.006439, allocations: 0 / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.006443, allocations: 0 / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.006446, allocations: 7.938 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.227e-05/0.006519, allocations: 121.1 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.006519, allocations: 0 / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-06/0.006529, allocations: 4 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.006531, allocations: 4.234 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.006536, allocations: 0 / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006537, allocations: 0 / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006538, allocations: 3.938 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.006766, allocations: 331.6 kB / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.006775, allocations: 11.89 kB / 1.007 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.006796, allocations: 23.98 kB / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-06/0.006804, allocations: 4 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.006821, allocations: 4 kB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.006825, allocations: 0 / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.655e-05/0.006852, allocations: 91.2 kB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006852, allocations: 0 / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001778/0.007029, allocations: 39.94 kB / 1.007 GB, free: 6.309 MB / 0.9636 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.0002785/0.007308, allocations: 224.6 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.007538, allocations: 264.8 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.00754, allocations: 0 / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.007583, allocations: 67.98 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.007686, allocations: 6.188 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.007982, allocations: 316.8 kB / 1.008 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.728e-05/0.008039, allocations: 97.31 kB / 1.008 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.008059, allocations: 12.5 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.00806, allocations: 0 / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of Templates: time 0.002634/0.01069, allocations: 2.079 MB / 1.01 GB, free: 3.227 MB / 0.9636 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: 6.759971157647669]