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.001425/0.001425, allocations: 88.72 kB / 19.44 MB, free: 356 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.001715/0.001715, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.234/3.234, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] 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.403e-06/1.403e-06, allocations: 0 / 0.8775 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.606e-05, allocations: 3.062 kB / 0.8775 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002611/0.002637, allocations: 1.244 MB / 0.8788 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009447/0.003582, allocations: 394 kB / 0.8791 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.003605, allocations: 0.7812 kB / 0.8791 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.716e-05/0.003682, allocations: 3.938 kB / 0.8791 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.489e-05/0.003697, allocations: 5.531 kB / 0.8791 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.004228, allocations: 104.4 kB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.004288, allocations: 17.33 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.294e-05/0.004321, allocations: 4 kB / 0.8793 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.004358, allocations: 12.73 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.43e-05/0.004382, allocations: 4 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.004395, allocations: 4.5 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.004692, allocations: 119.7 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.004739, allocations: 28.56 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.004771, allocations: 12.59 kB / 0.8794 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.005018, allocations: 123.5 kB / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.00502, allocations: 3.844 kB / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.166e-06/0.005023, allocations: 4 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.005026, allocations: 0 / 0.8796 GB, free: 4.496 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.0005365/0.005563, allocations: 338.7 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.005598, allocations: 8.031 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.628e-05/0.005694, allocations: 8.891 kB / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.005829, allocations: 113.7 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.005843, allocations: 4.375 kB / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.005851, allocations: 384 / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.006078, allocations: 151 kB / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.006087, allocations: 1.656 kB / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.006094, allocations: 384 / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.006101, allocations: 4.375 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/0.006184, allocations: 63.92 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.006358, allocations: 126.1 kB / 0.8804 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.00647, allocations: 78.56 kB / 0.8804 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.00655, allocations: 66 kB / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.006563, allocations: 4 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.00683, allocations: 180.9 kB / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 1.002e-06/0.006831, allocations: 1.125 kB / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36): time 0.0006196/0.007451, allocations: 404.8 kB / 0.8811 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.007532, allocations: 83.33 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.007649, allocations: 122.8 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.007707, allocations: 49.69 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.007764, allocations: 85.67 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.007875, allocations: 95.3 kB / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.008011, allocations: 90 kB / 0.8816 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.008203, allocations: 332.5 kB / 0.8819 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.00841, allocations: 140.9 kB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.008682, allocations: 205 kB / 0.8822 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.009225, allocations: 394.7 kB / 0.8826 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.009227, allocations: 0 / 0.8826 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006427/0.00987, allocations: 439.7 kB / 0.883 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.009888, allocations: 11.94 kB / 0.883 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.009905, allocations: 0 / 0.883 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.009928, allocations: 5.094 kB / 0.883 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.01003, allocations: 11.94 kB / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.01005, allocations: 11.92 kB / 0.883 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.01012, allocations: 33.33 kB / 0.8831 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.01014, allocations: 12 kB / 0.8831 GB, free: 0.707 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.000191/0.01033, allocations: 183.5 kB / 0.8833 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.01036, allocations: 12.72 kB / 0.8833 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.01038, allocations: 5.312 kB / 0.8833 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01038, allocations: 4.125 kB / 0.8833 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.01039, allocations: 4 kB / 0.8833 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01039, allocations: 3.938 kB / 0.8833 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.01052, allocations: 113.2 kB / 0.8834 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01052, allocations: 0 / 0.8834 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.01054, allocations: 4 kB / 0.8834 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01054, allocations: 0 / 0.8834 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.01055, allocations: 3.938 kB / 0.8834 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01055, allocations: 0 / 0.8834 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01055, allocations: 0 / 0.8834 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.01098, allocations: 326.7 kB / 0.8837 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.01102, allocations: 24.02 kB / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.01106, allocations: 20 kB / 0.8838 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.602e-05/0.01108, allocations: 11.98 kB / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.01111, allocations: 0 / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.01111, allocations: 0 / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.01116, allocations: 83.03 kB / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01116, allocations: 0 / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002855/0.01145, allocations: 51.92 kB / 0.8839 GB, free: 15.83 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.0005795/0.01203, allocations: 217.5 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004841/0.01251, allocations: 253 kB / 0.8843 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.01252, allocations: 4 kB / 0.8843 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.01261, allocations: 71.97 kB / 0.8844 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.000171/0.01278, allocations: 5.375 kB / 0.8844 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.01336, allocations: 284 kB / 0.8847 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.01352, allocations: 101.2 kB / 0.8848 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.42e-05/0.01358, allocations: 16.64 kB / 0.8848 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.01362, allocations: 12.5 kB / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/0.01362, allocations: 0 / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.005669/0.01929, allocations: 1.599 MB / 0.8864 GB, free: 13.27 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=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.269152406952344]