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.001023/0.001023, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001071/0.001071, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.922/0.922, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.32/2.32, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.724e-06/1.724e-06, allocations: 0 / 0.8793 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.569e-05, allocations: 6.109 kB / 0.8794 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.00814/0.008165, allocations: 1.3 MB / 0.8806 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008559/0.009021, allocations: 477.9 kB / 0.8811 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.009054, allocations: 0 / 0.8811 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.807e-05/0.009142, allocations: 7.938 kB / 0.8811 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.573e-05/0.009168, allocations: 4.266 kB / 0.8811 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.009706, allocations: 127.4 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.892e-05/0.009785, allocations: 21.39 kB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.009823, allocations: 4 kB / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.009866, allocations: 23.91 kB / 0.8813 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.009896, allocations: 7.984 kB / 0.8813 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.009909, allocations: 1.156 kB / 0.8813 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.01018, allocations: 151.6 kB / 0.8814 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.01023, allocations: 23.91 kB / 0.8814 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.01025, allocations: 19.28 kB / 0.8815 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.006248/0.0165, allocations: 151.5 kB / 0.8816 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.0165, allocations: 0 / 0.8816 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.162e-06/0.0165, allocations: 0 / 0.8816 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.01651, allocations: 0 / 0.8816 GB, free: 3.797 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.0004666/0.01698, allocations: 482.5 kB / 0.8821 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.01701, allocations: 12.03 kB / 0.8821 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.01709, allocations: 16.78 kB / 0.8821 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.963e-05/0.01719, allocations: 124.4 kB / 0.8822 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.01721, allocations: 4.969 kB / 0.8822 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.01722, allocations: 5.906 kB / 0.8822 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.01733, allocations: 81.84 kB / 0.8823 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.01735, allocations: 4.172 kB / 0.8823 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.01735, allocations: 384 / 0.8823 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.01736, allocations: 384 / 0.8823 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.01739, allocations: 25.47 kB / 0.8823 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.01752, allocations: 121 kB / 0.8824 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.66e-05/0.01758, allocations: 47.06 kB / 0.8825 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.01762, allocations: 32.28 kB / 0.8825 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.01763, allocations: 0 / 0.8825 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.01777, allocations: 112.6 kB / 0.8826 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.192e-06/0.01777, allocations: 0 / 0.8826 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0003951/0.01816, allocations: 297.8 kB / 0.8829 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.01823, allocations: 91.06 kB / 0.883 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.01834, allocations: 189.8 kB / 0.8832 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.01837, allocations: 49.69 kB / 0.8832 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.01843, allocations: 131.5 kB / 0.8833 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.01851, allocations: 107.3 kB / 0.8834 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.01862, allocations: 107.2 kB / 0.8835 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.01877, allocations: 0.5156 MB / 0.8841 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.01884, allocations: 44.62 kB / 0.8841 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.01896, allocations: 138.2 kB / 0.8842 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.01917, allocations: 218.3 kB / 0.8844 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01917, allocations: 0 / 0.8844 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.006349/0.02552, allocations: 299.2 kB / 0.8847 GB, free: 352 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.02554, allocations: 8 kB / 0.8847 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.02554, allocations: 0 / 0.8847 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.02556, allocations: 4 kB / 0.8847 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.02576, allocations: 67.91 kB / 0.8848 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.02577, allocations: 4 kB / 0.8848 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.02583, allocations: 39.61 kB / 0.8848 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.02584, allocations: 8 kB / 0.8848 GB, free: 220 kB / 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.0001471/0.02599, allocations: 212.6 kB / 0.885 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.02601, allocations: 12.03 kB / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.02603, allocations: 13.56 kB / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.02604, allocations: 7.984 kB / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.02604, allocations: 4 kB / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.02604, allocations: 0 / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.02615, allocations: 117 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.02615, allocations: 0 / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-05/0.02616, allocations: 3.938 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.02616, allocations: 0 / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.02617, allocations: 7.984 kB / 0.8852 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.02617, allocations: 4 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.02617, allocations: 0 / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.02646, allocations: 281.7 kB / 0.8855 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.02648, allocations: 19.78 kB / 0.8855 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.0265, allocations: 27.98 kB / 0.8855 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.415e-05/0.02652, allocations: 0 / 0.8855 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.02654, allocations: 3.984 kB / 0.8855 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.02654, allocations: 4 kB / 0.8855 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.02658, allocations: 123.2 kB / 0.8856 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02658, allocations: 0 / 0.8856 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002816/0.02686, allocations: 55.92 kB / 0.8857 GB, free: 15.28 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.0003854/0.02725, allocations: 241.5 kB / 0.8859 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.02745, allocations: 154.6 kB / 0.8861 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.02746, allocations: 0 / 0.8861 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.615e-05/0.0275, allocations: 51.59 kB / 0.8861 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.02764, allocations: 17.12 kB / 0.8861 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.02795, allocations: 245.5 kB / 0.8864 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.02799, allocations: 75.78 kB / 0.8865 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004573/0.03257, allocations: 12.64 kB / 0.8865 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.03262, allocations: 78.2 kB / 0.8865 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/0.03262, allocations: 0 / 0.8865 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of Templates: time 0.004438/0.03706, allocations: 1.992 MB / 0.8885 GB, free: 12.39 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.890236658044159]