Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.001129/0.001129, 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.001174/0.001174, 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 0.9993/0.9993, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.187/2.187, allocations: 429.5 MB / 0.6736 GB, free: 4.027 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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.8781 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.831e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002082/0.00211, allocations: 1.29 MB / 0.8794 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009899/0.0031, allocations: 496 kB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.003141, allocations: 0 / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.954e-05/0.00323, allocations: 0.6562 kB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.289e-05/0.003253, allocations: 5.141 kB / 0.8799 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.003837, allocations: 126.2 kB / 0.88 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.034e-05/0.003918, allocations: 17.81 kB / 0.88 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.003966, allocations: 11.98 kB / 0.88 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.004004, allocations: 15.92 kB / 0.88 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.943e-05/0.004033, allocations: 7.984 kB / 0.8801 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.004048, allocations: 0.6562 kB / 0.8801 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.00433, allocations: 151.6 kB / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.004377, allocations: 29.5 kB / 0.8802 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.004409, allocations: 11.88 kB / 0.8802 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.004642, allocations: 151.5 kB / 0.8804 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004645, allocations: 0 / 0.8804 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004646, allocations: 1.906 kB / 0.8804 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.00465, allocations: 0 / 0.8804 GB, free: 4.398 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.0004767/0.005127, allocations: 482.5 kB / 0.8808 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.005164, allocations: 15.97 kB / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.005258, allocations: 12.84 kB / 0.8809 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.005359, allocations: 127.1 kB / 0.881 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.005377, allocations: 4.375 kB / 0.881 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.005387, allocations: 384 / 0.881 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.005514, allocations: 97.77 kB / 0.8811 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.005521, allocations: 192 / 0.8811 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/0.005529, allocations: 384 / 0.8811 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.005537, allocations: 384 / 0.8811 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.419e-05/0.005571, allocations: 28.66 kB / 0.8811 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.005708, allocations: 136.5 kB / 0.8812 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.528e-05/0.005773, allocations: 52.41 kB / 0.8813 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/0.005817, allocations: 39.72 kB / 0.8813 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.005824, allocations: 4 kB / 0.8813 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.005952, allocations: 115 kB / 0.8814 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 9.81e-07/0.005953, allocations: 0 / 0.8814 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004295/0.006382, allocations: 315.1 kB / 0.8818 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.006443, allocations: 83.08 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.006556, allocations: 201.7 kB / 0.882 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.006589, allocations: 45.69 kB / 0.8821 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.00664, allocations: 139.5 kB / 0.8822 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.006721, allocations: 91.38 kB / 0.8823 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.006823, allocations: 103.3 kB / 0.8824 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.006963, allocations: 0.5196 MB / 0.8829 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.007056, allocations: 56.62 kB / 0.8829 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.007201, allocations: 154.2 kB / 0.8831 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.007463, allocations: 238.4 kB / 0.8833 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.007466, allocations: 0 / 0.8833 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003836/0.00785, allocations: 326.6 kB / 0.8836 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.007866, allocations: 4 kB / 0.8836 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.007877, allocations: 7.984 kB / 0.8836 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.007893, allocations: 4 kB / 0.8836 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.008114, allocations: 67.89 kB / 0.8837 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.008125, allocations: 7.875 kB / 0.8837 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.008187, allocations: 39.67 kB / 0.8838 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.008202, allocations: 8 kB / 0.8838 GB, free: 0.6719 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.0001418/0.008344, allocations: 220.6 kB / 0.884 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.008361, allocations: 11.91 kB / 0.884 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.008391, allocations: 9.625 kB / 0.884 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.008394, allocations: 0 / 0.884 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.008397, allocations: 0 / 0.884 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.008401, allocations: 3.938 kB / 0.884 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.008505, allocations: 140.5 kB / 0.8841 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.008507, allocations: 0 / 0.8841 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.008523, allocations: 4 kB / 0.8841 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.008525, allocations: 0 / 0.8841 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.008533, allocations: 0 / 0.8841 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.008534, allocations: 0 / 0.8841 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.008535, allocations: 0 / 0.8841 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.008854, allocations: 297.7 kB / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.008871, allocations: 23.78 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.008905, allocations: 23.94 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.75e-05/0.008923, allocations: 0 / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.008945, allocations: 4 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.008954, allocations: 7.984 kB / 0.8845 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.008999, allocations: 127.1 kB / 0.8846 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.008999, allocations: 0 / 0.8846 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002969/0.009296, allocations: 55.92 kB / 0.8847 GB, free: 15.7 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 (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.0004004/0.009697, allocations: 226.3 kB / 0.8849 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.009954, allocations: 174 kB / 0.885 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.009955, allocations: 0 / 0.885 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.268e-05/0.01001, allocations: 55.67 kB / 0.8851 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.01016, allocations: 15.48 kB / 0.8851 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.0105, allocations: 257.3 kB / 0.8853 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.01054, allocations: 75.84 kB / 0.8854 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.01057, allocations: 8.641 kB / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.0106, allocations: 16.5 kB / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.0106, allocations: 3.938 kB / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.004465/0.01506, allocations: 1.811 MB / 0.8872 GB, free: 13.05 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.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.5580029911361635]