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.001477/0.001477, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001602/0.001602, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9377/0.9377, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.046/2.046, allocations: 429.5 MB / 0.6743 GB, free: 3.945 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.643e-06/1.643e-06, allocations: 0 / 0.8794 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.201e-05, allocations: 3.469 kB / 0.8794 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001911/0.001933, allocations: 1.278 MB / 0.8806 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007754/0.002709, allocations: 405 kB / 0.881 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.002749, allocations: 0 / 0.881 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.002858, allocations: 9.047 kB / 0.881 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.261e-05/0.00288, allocations: 1.094 kB / 0.881 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.003426, allocations: 110.1 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.351e-05/0.00352, allocations: 13.03 kB / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.003569, allocations: 7.984 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.003614, allocations: 4 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.238e-05/0.003646, allocations: 11.97 kB / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.003663, allocations: 2.594 kB / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.003888, allocations: 123.7 kB / 0.8813 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.003935, allocations: 23.92 kB / 0.8813 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.003958, allocations: 7.938 kB / 0.8813 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.004134, allocations: 127.5 kB / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004136, allocations: 0 / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004137, allocations: 0 / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.004143, allocations: 0.7188 kB / 0.8814 GB, free: 4.008 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.000451/0.004594, allocations: 444.9 kB / 0.8818 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.004635, allocations: 9.688 kB / 0.8818 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/0.004724, allocations: 12.88 kB / 0.8819 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.004832, allocations: 116.5 kB / 0.882 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.004846, allocations: 4.375 kB / 0.882 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.004853, allocations: 0.875 kB / 0.882 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.004953, allocations: 70.42 kB / 0.882 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.004962, allocations: 192 / 0.882 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.00497, allocations: 4.375 kB / 0.882 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.004977, allocations: 384 / 0.882 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.198e-05/0.004999, allocations: 26.12 kB / 0.8821 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.00512, allocations: 105.1 kB / 0.8822 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.691e-05/0.005177, allocations: 47.05 kB / 0.8822 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.005204, allocations: 27.72 kB / 0.8822 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.005211, allocations: 7.938 kB / 0.8822 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.005327, allocations: 104.8 kB / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 1.302e-06/0.005329, allocations: 3.938 kB / 0.8824 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36): time 0.0003453/0.005674, allocations: 284.2 kB / 0.8826 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.005734, allocations: 87.31 kB / 0.8827 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.005834, allocations: 177.8 kB / 0.8829 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.005865, allocations: 49.69 kB / 0.8829 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.00591, allocations: 127.5 kB / 0.883 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.313e-05/0.005983, allocations: 103.2 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.006066, allocations: 103.6 kB / 0.8832 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.006215, allocations: 0.5195 MB / 0.8837 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.006261, allocations: 44.95 kB / 0.8838 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.685e-05/0.006358, allocations: 131.2 kB / 0.8839 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.006529, allocations: 206.6 kB / 0.8841 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006531, allocations: 0 / 0.8841 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002551/0.006786, allocations: 286.7 kB / 0.8844 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.006801, allocations: 8 kB / 0.8844 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.006809, allocations: 0 / 0.8844 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.006821, allocations: 4 kB / 0.8844 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.006978, allocations: 67.89 kB / 0.8845 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.006982, allocations: 0 / 0.8845 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/0.007023, allocations: 39.67 kB / 0.8845 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.007035, allocations: 4 kB / 0.8845 GB, free: 0.5977 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 0.0001254/0.00716, allocations: 216.5 kB / 0.8847 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.007173, allocations: 15.89 kB / 0.8847 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.007197, allocations: 5.312 kB / 0.8847 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.007199, allocations: 0 / 0.8847 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.007201, allocations: 0 / 0.8847 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007205, allocations: 4 kB / 0.8847 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.195e-05/0.007287, allocations: 105.1 kB / 0.8848 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.007287, allocations: 4 kB / 0.8848 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/0.007299, allocations: 4 kB / 0.8848 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.007302, allocations: 3.984 kB / 0.8848 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.007309, allocations: 8 kB / 0.8849 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.007309, allocations: 0 / 0.8849 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00731, allocations: 0 / 0.8849 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.007542, allocations: 266.9 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.007558, allocations: 19.84 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.00758, allocations: 23.92 kB / 0.8852 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/0.007588, allocations: 0 / 0.8852 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.007604, allocations: 4 kB / 0.8852 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.007608, allocations: 4 kB / 0.8852 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.007644, allocations: 127.2 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.007644, allocations: 0 / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001858/0.00783, allocations: 43.94 kB / 0.8853 GB, free: 15.71 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.0003193/0.008149, allocations: 220.4 kB / 0.8855 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.008325, allocations: 150.8 kB / 0.8857 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.008326, allocations: 0 / 0.8857 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.008359, allocations: 47.53 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.00847, allocations: 7.938 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.008731, allocations: 233 kB / 0.886 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.008774, allocations: 71.84 kB / 0.886 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.686e-05/0.008801, allocations: 16.58 kB / 0.886 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.008843, allocations: 78.2 kB / 0.8861 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/0.008843, allocations: 0 / 0.8861 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.00356/0.0124, allocations: 1.755 MB / 0.8878 GB, free: 13.11 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.787561924662441]