Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.001621/0.001621, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.002022/0.002022, allocations: 173 kB / 23.49 MB, free: 1.059 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.024/1.024, 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.094/2.094, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.677e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002583/0.002609, allocations: 1.297 MB / 0.8794 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.003552, allocations: 461.7 kB / 0.8798 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.003593, allocations: 0 / 0.8798 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.042e-05/0.003684, allocations: 1.094 kB / 0.8798 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.695e-05/0.003711, allocations: 4.922 kB / 0.8799 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006102/0.004321, allocations: 127.4 kB / 0.88 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.482e-05/0.004416, allocations: 23.92 kB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.004458, allocations: 4.922 kB / 0.88 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.004501, allocations: 15.97 kB / 0.88 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.004536, allocations: 12.97 kB / 0.88 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.004554, allocations: 4 kB / 0.88 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.00485, allocations: 139.7 kB / 0.8802 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.004902, allocations: 25.05 kB / 0.8802 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.004939, allocations: 19.91 kB / 0.8802 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.005208, allocations: 147.5 kB / 0.8803 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.005211, allocations: 1.062 kB / 0.8803 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005212, allocations: 0 / 0.8803 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.005217, allocations: 0 / 0.8803 GB, free: 4.438 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005558/0.005773, allocations: 483.6 kB / 0.8808 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.005816, allocations: 16.02 kB / 0.8808 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.005945, allocations: 17.5 kB / 0.8808 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.006058, allocations: 120.5 kB / 0.881 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.00608, allocations: 5.594 kB / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.006093, allocations: 4.375 kB / 0.881 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.006244, allocations: 92.94 kB / 0.8811 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.006252, allocations: 0.7812 kB / 0.8811 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.006267, allocations: 4.375 kB / 0.8811 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.006275, allocations: 1.75 kB / 0.8811 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.006317, allocations: 31.88 kB / 0.8811 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.006477, allocations: 132.5 kB / 0.8812 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.305e-05/0.00656, allocations: 51.84 kB / 0.8813 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.006619, allocations: 44.91 kB / 0.8813 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.00663, allocations: 4 kB / 0.8813 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.006787, allocations: 114.4 kB / 0.8814 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 1.633e-06/0.006789, allocations: 0 / 0.8814 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38): time 0.0004869/0.007276, allocations: 334.8 kB / 0.8817 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.007343, allocations: 79.98 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.007465, allocations: 194.8 kB / 0.882 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.007509, allocations: 49.69 kB / 0.8821 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.007561, allocations: 131.5 kB / 0.8822 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.007663, allocations: 110.8 kB / 0.8823 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.007778, allocations: 99.34 kB / 0.8824 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.007945, allocations: 0.5157 MB / 0.8829 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.008054, allocations: 56.62 kB / 0.8829 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.00823, allocations: 158 kB / 0.8831 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.008557, allocations: 254.8 kB / 0.8833 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.008561, allocations: 320 / 0.8833 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000468/0.009029, allocations: 343.1 kB / 0.8837 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.009048, allocations: 4 kB / 0.8837 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.009057, allocations: 4 kB / 0.8837 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.009075, allocations: 7.984 kB / 0.8837 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.009333, allocations: 71.84 kB / 0.8837 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.009346, allocations: 7.938 kB / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.009421, allocations: 35.67 kB / 0.8838 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.009441, allocations: 12 kB / 0.8838 GB, free: 0.6445 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 41 * 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.0001707/0.009611, allocations: 216.7 kB / 0.884 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.009633, allocations: 11.91 kB / 0.884 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.009664, allocations: 9.625 kB / 0.884 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.009667, allocations: 0 / 0.884 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.009671, allocations: 0 / 0.884 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.009678, allocations: 11.92 kB / 0.884 GB, free: 408 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.009798, allocations: 132.5 kB / 0.8842 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.0098, allocations: 0 / 0.8842 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.009822, allocations: 0 / 0.8842 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.009826, allocations: 7.984 kB / 0.8842 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.009836, allocations: 4 kB / 0.8842 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.009838, allocations: 0 / 0.8842 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.009839, allocations: 0 / 0.8842 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.01021, allocations: 296.9 kB / 0.8845 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.01023, allocations: 15.84 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.01027, allocations: 27.98 kB / 0.8845 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.526e-05/0.01029, allocations: 4 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.01032, allocations: 3.984 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.01033, allocations: 4 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.01038, allocations: 127.1 kB / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01038, allocations: 0 / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003184/0.0107, allocations: 59.86 kB / 0.8847 GB, free: 15.67 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: 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 (5): * Single equations (assignments): 3 * 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.0003823/0.01108, allocations: 233.3 kB / 0.8849 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.01133, allocations: 177.8 kB / 0.8851 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01133, allocations: 0 / 0.8851 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.531e-05/0.01139, allocations: 71.34 kB / 0.8851 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.01151, allocations: 5.031 kB / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.01183, allocations: 249.9 kB / 0.8854 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.814e-05/0.01187, allocations: 72.34 kB / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.01191, allocations: 13.14 kB / 0.8855 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.01193, allocations: 20.5 kB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01193, allocations: 0 / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.003427/0.01536, allocations: 1.769 MB / 0.8872 GB, free: 13.05 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.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.464954789029434]