Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009728/0.0009728, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009246/0.0009246, allocations: 161 kB / 24.17 MB, free: 328 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.927/0.927, allocations: 177.2 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.833/1.833, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0.6562 kB / 0.76 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.066e-05, allocations: 2.312 kB / 0.76 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001835/0.001855, allocations: 1.294 MB / 0.7612 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006841/0.002539, allocations: 493.8 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.002563, allocations: 1.719 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.555e-05/0.002629, allocations: 0 / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.873e-05/0.002647, allocations: 4.812 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.003056, allocations: 135.6 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.003121, allocations: 24.69 kB / 0.7619 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.72e-05/0.003149, allocations: 0 / 0.7619 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.124e-05/0.00318, allocations: 17.28 kB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.334e-05/0.003203, allocations: 9.844 kB / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.003214, allocations: 4 kB / 0.7619 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.003406, allocations: 153.2 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.003443, allocations: 21.25 kB / 0.7621 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.003465, allocations: 16.02 kB / 0.7621 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.003634, allocations: 152.2 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003637, allocations: 0.75 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.61e-07/0.003638, allocations: 4 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.00364, allocations: 0.9688 kB / 0.7622 GB, free: 4.43 MB / 0.7136 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.0003032/0.003944, allocations: 342.9 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.479e-05/0.003968, allocations: 13.5 kB / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.004033, allocations: 8.922 kB / 0.7626 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.164e-05/0.004105, allocations: 121.6 kB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.004117, allocations: 4.375 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.004124, allocations: 1.625 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/0.00421, allocations: 96.3 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-06/0.004215, allocations: 192 / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.00422, allocations: 1.625 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.004224, allocations: 4.375 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.004245, allocations: 24.69 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.729e-05/0.004312, allocations: 75.72 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.004358, allocations: 47.27 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.00438, allocations: 29.52 kB / 0.763 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-06/0.004385, allocations: 5.594 kB / 0.763 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.72e-05/0.004472, allocations: 108.1 kB / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 7.82e-07/0.004473, allocations: 0 / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0001896/0.004662, allocations: 207 kB / 0.7633 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.004707, allocations: 83.33 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/0.004772, allocations: 134.6 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.004795, allocations: 43 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.004823, allocations: 92.78 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.004873, allocations: 87.31 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.004936, allocations: 94.09 kB / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.00502, allocations: 338.7 kB / 0.7641 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-05/0.005067, allocations: 52.22 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.005136, allocations: 113.2 kB / 0.7643 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.005286, allocations: 214.6 kB / 0.7645 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005288, allocations: 0 / 0.7645 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002141/0.005502, allocations: 254.3 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.005515, allocations: 9.812 kB / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.005521, allocations: 0 / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.005531, allocations: 4 kB / 0.7647 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.005667, allocations: 63.91 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.005674, allocations: 7.938 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.005712, allocations: 42.67 kB / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.005726, allocations: 15.94 kB / 0.7648 GB, free: 1.555 MB / 0.7136 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.0001017/0.005828, allocations: 166.2 kB / 0.765 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.005838, allocations: 3.984 kB / 0.765 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.005864, allocations: 9.625 kB / 0.765 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005866, allocations: 0 / 0.765 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.005867, allocations: 0.625 kB / 0.765 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.00587, allocations: 0.8438 kB / 0.765 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.155e-05/0.005942, allocations: 85.72 kB / 0.7651 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.005944, allocations: 3.984 kB / 0.7651 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.005955, allocations: 4.656 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.005956, allocations: 3.094 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.005961, allocations: 0 / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.005962, allocations: 0 / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005962, allocations: 0 / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.006107, allocations: 197 kB / 0.7653 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.006124, allocations: 23.83 kB / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.006145, allocations: 19.98 kB / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.078e-05/0.006155, allocations: 0 / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.006171, allocations: 8 kB / 0.7653 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.006174, allocations: 3.125 kB / 0.7653 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.223e-05/0.006187, allocations: 12.84 kB / 0.7654 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006187, allocations: 0 / 0.7654 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001652/0.006352, allocations: 59.86 kB / 0.7654 GB, free: 0.9219 MB / 0.7136 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.0003164/0.006668, allocations: 218.2 kB / 0.7656 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.00681, allocations: 148.1 kB / 0.7658 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.006812, allocations: 0.5312 kB / 0.7658 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.006842, allocations: 40.84 kB / 0.7658 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.013e-05/0.006902, allocations: 12.72 kB / 0.7658 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.007146, allocations: 243.5 kB / 0.766 GB, free: 276 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.275e-05/0.007189, allocations: 76.42 kB / 0.7661 GB, free: 176 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.007215, allocations: 12.64 kB / 0.7661 GB, free: 164 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.007251, allocations: 66.12 kB / 0.7662 GB, free: 100 kB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/0.007252, allocations: 0 / 0.7662 GB, free: 100 kB / 0.7136 GB Notification: Performance of Templates: time 0.004423/0.01167, allocations: 1.952 MB / 0.7681 GB, free: 14.27 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.891237454954535]