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.0009271/0.0009271, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009425/0.0009425, allocations: 177.3 kB / 23.5 MB, free: 1.055 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.9632/0.9632, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.198/2.198, allocations: 429.5 MB / 0.6736 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 2.314e-06/2.314e-06, allocations: 0 / 0.8781 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.198e-05, allocations: 5.266 kB / 0.8781 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002718/0.00275, allocations: 1.275 MB / 0.8794 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008755/0.003625, allocations: 409.2 kB / 0.8798 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.003661, allocations: 0.7812 kB / 0.8798 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.961e-05/0.003751, allocations: 9.078 kB / 0.8798 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.584e-05/0.003767, allocations: 0.5625 kB / 0.8798 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.004294, allocations: 105.2 kB / 0.8799 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.004366, allocations: 17.58 kB / 0.8799 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.004409, allocations: 7.984 kB / 0.8799 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.004442, allocations: 8.641 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.716e-05/0.004469, allocations: 5.422 kB / 0.8799 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.004484, allocations: 4 kB / 0.8799 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.004745, allocations: 127.7 kB / 0.8801 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.004794, allocations: 23.92 kB / 0.8801 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.004822, allocations: 11.84 kB / 0.8801 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.005039, allocations: 119.6 kB / 0.8802 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.005043, allocations: 0 / 0.8802 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005044, allocations: 0 / 0.8802 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.005049, allocations: 0 / 0.8802 GB, free: 4.582 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.0004799/0.005529, allocations: 448.9 kB / 0.8806 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.005572, allocations: 8.031 kB / 0.8806 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.005676, allocations: 12.88 kB / 0.8806 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.005817, allocations: 116.5 kB / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.005831, allocations: 384 / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.005843, allocations: 5.312 kB / 0.8808 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.005971, allocations: 73.14 kB / 0.8808 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.005978, allocations: 192 / 0.8808 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.005987, allocations: 1.406 kB / 0.8808 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.005996, allocations: 384 / 0.8808 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.338e-05/0.006029, allocations: 29.03 kB / 0.8809 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.006175, allocations: 132.4 kB / 0.881 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/0.006238, allocations: 55 kB / 0.881 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.006275, allocations: 32.88 kB / 0.8811 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.006283, allocations: 1.156 kB / 0.8811 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.006431, allocations: 108.2 kB / 0.8812 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 1.723e-06/0.006433, allocations: 0 / 0.8812 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36): time 0.000423/0.006856, allocations: 304.2 kB / 0.8815 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.006917, allocations: 79.38 kB / 0.8815 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.007028, allocations: 181.8 kB / 0.8817 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.007068, allocations: 49.62 kB / 0.8818 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.007116, allocations: 139.5 kB / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.007204, allocations: 99.36 kB / 0.882 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.007311, allocations: 99.67 kB / 0.8821 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.007468, allocations: 0.5079 MB / 0.8826 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.00757, allocations: 56.95 kB / 0.8826 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.007723, allocations: 136.1 kB / 0.8828 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.007999, allocations: 232.6 kB / 0.883 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.008002, allocations: 0 / 0.883 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000414/0.008416, allocations: 312 kB / 0.8833 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.008438, allocations: 7.984 kB / 0.8833 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.008448, allocations: 4 kB / 0.8833 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.008464, allocations: 4.125 kB / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.008699, allocations: 67.91 kB / 0.8834 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.008711, allocations: 7.938 kB / 0.8834 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.008773, allocations: 35.67 kB / 0.8834 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.008799, allocations: 12 kB / 0.8834 GB, free: 1.043 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.0001726/0.008972, allocations: 212.5 kB / 0.8836 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.008988, allocations: 11.91 kB / 0.8836 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.009016, allocations: 5.312 kB / 0.8836 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.009019, allocations: 4 kB / 0.8836 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.009023, allocations: 240 / 0.8836 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.009028, allocations: 3.938 kB / 0.8836 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.009137, allocations: 128.5 kB / 0.8838 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.009141, allocations: 7.984 kB / 0.8838 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.009159, allocations: 0 / 0.8838 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.009162, allocations: 0 / 0.8838 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.009169, allocations: 7.938 kB / 0.8838 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.009171, allocations: 0 / 0.8838 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.009173, allocations: 4 kB / 0.8838 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.009505, allocations: 266.1 kB / 0.884 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.009525, allocations: 19.83 kB / 0.8841 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.00956, allocations: 23.98 kB / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.009583, allocations: 0 / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.009606, allocations: 0 / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.009613, allocations: 4 kB / 0.8841 GB, free: 304 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.009655, allocations: 127.1 kB / 0.8842 GB, free: 176 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.009655, allocations: 0 / 0.8842 GB, free: 176 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002914/0.009946, allocations: 55.92 kB / 0.8843 GB, free: 120 kB / 0.8386 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.0004562/0.0104, allocations: 210.3 kB / 0.8845 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.01067, allocations: 171 kB / 0.8846 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01067, allocations: 0 / 0.8846 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.82e-05/0.01072, allocations: 47.67 kB / 0.8847 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.01087, allocations: 7.984 kB / 0.8847 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.0113, allocations: 236.6 kB / 0.8849 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.709e-05/0.01135, allocations: 71.83 kB / 0.885 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.01138, allocations: 16.77 kB / 0.885 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.01141, allocations: 16.5 kB / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.01141, allocations: 0 / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.005301/0.01671, allocations: 1.586 MB / 0.8866 GB, free: 13.75 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.401126149110496]