Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.00184/0.00184, allocations: 93.47 kB / 19.44 MB, free: 336 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.002099/0.002099, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.666/1.666, allocations: 177.1 MB / 203.1 MB, free: 5.566 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.442/3.442, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0.7656 kB / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.361e-05, allocations: 5.125 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002578/0.002611, allocations: 1.251 MB / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009243/0.003535, allocations: 372.8 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.003562, allocations: 4.094 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.003665, allocations: 3.984 kB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.891e-05/0.003683, allocations: 4.594 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.004205, allocations: 100.7 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.004291, allocations: 25.77 kB / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.004327, allocations: 0 / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.004371, allocations: 15.98 kB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.932e-05/0.0044, allocations: 4 kB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.004418, allocations: 4.922 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.004713, allocations: 119.7 kB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.004768, allocations: 24.98 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.004801, allocations: 11.92 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.005043, allocations: 119.6 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005045, allocations: 1.094 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.12e-07/0.005046, allocations: 0 / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.005051, allocations: 3.938 kB / 0.8794 GB, free: 4.656 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006434/0.005694, allocations: 471.5 kB / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.005735, allocations: 8.031 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.005849, allocations: 8.891 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.005985, allocations: 121.4 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.006009, allocations: 8.359 kB / 0.88 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.006019, allocations: 0.9062 kB / 0.88 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.006169, allocations: 73.73 kB / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.006178, allocations: 192 / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.006188, allocations: 1.594 kB / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.006192, allocations: 384 / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.15e-05/0.006244, allocations: 27.94 kB / 0.8801 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.006429, allocations: 133.5 kB / 0.8802 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.006554, allocations: 59 kB / 0.8803 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.006613, allocations: 32.75 kB / 0.8803 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.006626, allocations: 4.031 kB / 0.8803 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.006811, allocations: 112.6 kB / 0.8804 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.092e-06/0.006812, allocations: 0 / 0.8804 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005303/0.007342, allocations: 306.1 kB / 0.8807 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.007429, allocations: 91.31 kB / 0.8808 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.007604, allocations: 191 kB / 0.881 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.007659, allocations: 53.66 kB / 0.881 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.007739, allocations: 135.5 kB / 0.8812 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.007852, allocations: 95.98 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.007997, allocations: 115.3 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002899/0.008287, allocations: 0.5126 MB / 0.8819 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.008393, allocations: 56.62 kB / 0.8819 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.0086, allocations: 157.7 kB / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.008943, allocations: 242.4 kB / 0.8823 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.008946, allocations: 0 / 0.8823 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000484/0.00943, allocations: 326.6 kB / 0.8826 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.009449, allocations: 11.94 kB / 0.8826 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.009456, allocations: 0 / 0.8826 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.009477, allocations: 4 kB / 0.8826 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.009734, allocations: 71.89 kB / 0.8827 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.009746, allocations: 7.938 kB / 0.8827 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.44e-05/0.009821, allocations: 31.67 kB / 0.8827 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.009844, allocations: 16 kB / 0.8828 GB, free: 0.9805 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (y,$PRE.y,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],r,$PRE.r,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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.0003447/0.01019, allocations: 212.6 kB / 0.883 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.01021, allocations: 7.906 kB / 0.883 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.01024, allocations: 13.31 kB / 0.883 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01024, allocations: 0 / 0.883 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01024, allocations: 0 / 0.883 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01025, allocations: 3.938 kB / 0.883 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.01041, allocations: 136.2 kB / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01041, allocations: 4 kB / 0.8831 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/0.01042, allocations: 0 / 0.8831 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01042, allocations: 4 kB / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.01043, allocations: 0 / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01043, allocations: 0 / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01043, allocations: 0 / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.01082, allocations: 294.6 kB / 0.8834 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.01084, allocations: 15.84 kB / 0.8834 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.01087, allocations: 23.98 kB / 0.8834 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.576e-05/0.01089, allocations: 3.938 kB / 0.8834 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.01092, allocations: 0 / 0.8834 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.01092, allocations: 8 kB / 0.8834 GB, free: 212 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.674e-05/0.011, allocations: 131.1 kB / 0.8836 GB, free: 80 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.011, allocations: 0 / 0.8836 GB, free: 80 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002779/0.01128, allocations: 43.94 kB / 0.8836 GB, free: 36 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: 36 ($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],r) * 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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005591/0.01184, allocations: 211.4 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.01216, allocations: 182 kB / 0.884 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01216, allocations: 0 / 0.884 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.01224, allocations: 55.61 kB / 0.884 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.01239, allocations: 8 kB / 0.884 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.01283, allocations: 241.6 kB / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.01295, allocations: 101.3 kB / 0.8844 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.01298, allocations: 8.641 kB / 0.8844 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.01301, allocations: 16.5 kB / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.01301, allocations: 0 / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of Templates: time 0.005314/0.01833, allocations: 1.592 MB / 0.886 GB, free: 13.61 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.617272933013737]