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.0008701/0.0008701, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009396/0.0009396, allocations: 173 kB / 23.03 MB, free: 1.535 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.9176/0.9176, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 2.026/2.026, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.372e-06/1.372e-06, allocations: 0 / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.559e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001448/0.001464, allocations: 1.264 MB / 0.8794 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006007/0.002065, allocations: 413.6 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.002091, allocations: 0.9844 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.699e-05/0.002168, allocations: 4.875 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.734e-05/0.002185, allocations: 0.7656 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.002624, allocations: 105.2 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.002682, allocations: 24.3 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.002714, allocations: 9.453 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.002745, allocations: 7.984 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.017e-05/0.002765, allocations: 0 / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.002778, allocations: 4 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.002962, allocations: 124.3 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.002995, allocations: 20.7 kB / 0.88 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.003019, allocations: 11.94 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.003178, allocations: 128.6 kB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003179, allocations: 0 / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00318, allocations: 0 / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.003184, allocations: 4.656 kB / 0.8802 GB, free: 4.25 MB / 0.8386 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.0003601/0.003544, allocations: 442.2 kB / 0.8806 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.003574, allocations: 8.031 kB / 0.8806 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.003646, allocations: 8.891 kB / 0.8806 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.581e-05/0.003722, allocations: 116.5 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.003731, allocations: 1.375 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.00374, allocations: 4.375 kB / 0.8807 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.21e-05/0.003832, allocations: 78.11 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.003838, allocations: 192 / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.003846, allocations: 384 / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.003852, allocations: 1.5 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.568e-05/0.003878, allocations: 27.94 kB / 0.8808 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.003999, allocations: 132.4 kB / 0.881 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.956e-05/0.004048, allocations: 52.12 kB / 0.881 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.004076, allocations: 32.31 kB / 0.8811 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.004081, allocations: 1.062 kB / 0.8811 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.4e-05/0.004175, allocations: 112.2 kB / 0.8812 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 1.202e-06/0.004176, allocations: 4.656 kB / 0.8812 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36): time 0.0002897/0.004466, allocations: 300.8 kB / 0.8815 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.004509, allocations: 82.73 kB / 0.8815 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.74e-05/0.004586, allocations: 181.8 kB / 0.8817 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.00461, allocations: 49.69 kB / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.004646, allocations: 127.5 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.004706, allocations: 103.4 kB / 0.882 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.004781, allocations: 99.66 kB / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.004895, allocations: 0.5118 MB / 0.8826 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.004954, allocations: 52.97 kB / 0.8826 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.005057, allocations: 147.2 kB / 0.8828 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.005237, allocations: 229.4 kB / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005239, allocations: 0 / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002615/0.005501, allocations: 315.7 kB / 0.8833 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.005512, allocations: 4 kB / 0.8833 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.00552, allocations: 4 kB / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.005531, allocations: 1.406 kB / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.005682, allocations: 63.91 kB / 0.8833 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.00569, allocations: 7.938 kB / 0.8834 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.005729, allocations: 39.67 kB / 0.8834 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.00574, allocations: 12.12 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 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 9.986e-05/0.00584, allocations: 212.5 kB / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.005848, allocations: 7.906 kB / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.005868, allocations: 5.312 kB / 0.8836 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.00587, allocations: 11.98 kB / 0.8836 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.005873, allocations: 0 / 0.8836 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.005877, allocations: 3.938 kB / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.402e-05/0.005951, allocations: 128.5 kB / 0.8838 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.005952, allocations: 0 / 0.8838 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-06/0.005959, allocations: 0 / 0.8838 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.00596, allocations: 240 / 0.8838 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.005966, allocations: 0 / 0.8838 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.005968, allocations: 7.984 kB / 0.8838 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005969, allocations: 0 / 0.8838 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.006166, allocations: 274 kB / 0.884 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.006187, allocations: 23.89 kB / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.006208, allocations: 23.88 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-06/0.006216, allocations: 0 / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.006236, allocations: 0 / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.00624, allocations: 4 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.006273, allocations: 127.1 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006273, allocations: 0 / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001748/0.006447, allocations: 47.94 kB / 0.8842 GB, free: 15.8 MB / 0.8542 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.0002957/0.006743, allocations: 216.8 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.006921, allocations: 174.9 kB / 0.8846 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006923, allocations: 0 / 0.8846 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.006953, allocations: 47.67 kB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.007053, allocations: 6.562 kB / 0.8847 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.007314, allocations: 240.9 kB / 0.8849 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.625e-05/0.00735, allocations: 71.84 kB / 0.885 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.007374, allocations: 8.641 kB / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.007396, allocations: 20.44 kB / 0.885 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of SimCode: time 7.41e-07/0.007396, allocations: 0 / 0.885 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.003193/0.01059, allocations: 1.717 MB / 0.8867 GB, free: 13.29 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.175533598288894]