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.001006/0.001006, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.000988/0.000988, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9609/0.9609, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.309/2.309, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.272e-06/1.272e-06, allocations: 0 / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.242e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001741/0.001753, allocations: 1.293 MB / 0.891 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000762/0.002515, allocations: 478.3 kB / 0.8914 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.002545, allocations: 4 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.652e-05/0.002611, allocations: 3.938 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 1.763e-05/0.002629, allocations: 0 / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.00311, allocations: 135.3 kB / 0.8916 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.454e-05/0.003175, allocations: 19.92 kB / 0.8916 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.72e-05/0.003202, allocations: 3.984 kB / 0.8916 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.003239, allocations: 15.98 kB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.273e-05/0.003262, allocations: 11.92 kB / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.003273, allocations: 0 / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.003517, allocations: 151.6 kB / 0.8918 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.663e-05/0.003553, allocations: 31.91 kB / 0.8918 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.003571, allocations: 7.938 kB / 0.8918 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.003764, allocations: 155.4 kB / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.003765, allocations: 0 / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003766, allocations: 0 / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003769, allocations: 0 / 0.8919 GB, free: 7.496 MB / 0.8542 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.000508/0.004277, allocations: 486.5 kB / 0.8924 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.00431, allocations: 12.62 kB / 0.8924 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.004366, allocations: 8.891 kB / 0.8924 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.233e-05/0.004428, allocations: 128.4 kB / 0.8925 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.004438, allocations: 8.375 kB / 0.8926 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.004446, allocations: 8.359 kB / 0.8926 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.144e-05/0.004517, allocations: 81.84 kB / 0.8926 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.004523, allocations: 192 / 0.8926 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-06/0.004527, allocations: 384 / 0.8926 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.004531, allocations: 384 / 0.8926 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.004551, allocations: 28.47 kB / 0.8927 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.223e-05/0.004633, allocations: 121 kB / 0.8928 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.128e-05/0.004675, allocations: 47.06 kB / 0.8928 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.004703, allocations: 35.66 kB / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.00471, allocations: 8 kB / 0.8929 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.674e-05/0.004787, allocations: 103 kB / 0.893 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 2.054e-06/0.004789, allocations: 3.984 kB / 0.893 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0002569/0.005046, allocations: 308.4 kB / 0.8933 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.005079, allocations: 83.33 kB / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.005151, allocations: 181.8 kB / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.005173, allocations: 49.69 kB / 0.8936 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.005208, allocations: 135.5 kB / 0.8937 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.005268, allocations: 103.3 kB / 0.8938 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.005336, allocations: 107.3 kB / 0.8939 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.005453, allocations: 0.5195 MB / 0.8944 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.00549, allocations: 44.62 kB / 0.8944 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.005571, allocations: 134.2 kB / 0.8946 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.005715, allocations: 222.3 kB / 0.8948 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.005718, allocations: 4 kB / 0.8948 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002099/0.005928, allocations: 294.6 kB / 0.8951 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.005937, allocations: 4 kB / 0.8951 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005943, allocations: 0 / 0.8951 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.005951, allocations: 4 kB / 0.8951 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.006082, allocations: 67.91 kB / 0.8951 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.006088, allocations: 7.984 kB / 0.8952 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.006124, allocations: 43.56 kB / 0.8952 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.006134, allocations: 8 kB / 0.8952 GB, free: 3.891 MB / 0.8542 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 9.601e-05/0.00623, allocations: 208.7 kB / 0.8954 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.006242, allocations: 15.89 kB / 0.8954 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.006261, allocations: 13.62 kB / 0.8954 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.006262, allocations: 0 / 0.8954 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.006265, allocations: 3.938 kB / 0.8954 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.006267, allocations: 4 kB / 0.8954 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.758e-05/0.006335, allocations: 113.1 kB / 0.8955 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.006337, allocations: 3.984 kB / 0.8955 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-06/0.006345, allocations: 4 kB / 0.8956 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.006346, allocations: 0 / 0.8956 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.00635, allocations: 0 / 0.8956 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.00635, allocations: 0 / 0.8956 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006351, allocations: 3.938 kB / 0.8956 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.006552, allocations: 282.9 kB / 0.8958 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.006565, allocations: 23.77 kB / 0.8958 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.006584, allocations: 23.98 kB / 0.8959 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.017e-05/0.006594, allocations: 4 kB / 0.8959 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.006607, allocations: 4 kB / 0.8959 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.00661, allocations: 0 / 0.8959 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.91e-05/0.006639, allocations: 127.2 kB / 0.896 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006639, allocations: 3.938 kB / 0.896 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001839/0.006823, allocations: 51.94 kB / 0.8961 GB, free: 2.961 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.0002592/0.007082, allocations: 221.8 kB / 0.8963 GB, free: 2.75 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.007225, allocations: 159.1 kB / 0.8964 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007226, allocations: 0 / 0.8964 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.007261, allocations: 59.23 kB / 0.8965 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.329e-05/0.007355, allocations: 11.94 kB / 0.8965 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.007575, allocations: 241.6 kB / 0.8967 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.321e-05/0.007608, allocations: 75.86 kB / 0.8968 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.398e-05/0.007632, allocations: 16.62 kB / 0.8968 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.007668, allocations: 78.2 kB / 0.8969 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of SimCode: time 4e-07/0.007669, allocations: 0 / 0.8969 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of Templates: time 0.002982/0.01065, allocations: 1.982 MB / 0.8988 GB, free: 100 kB / 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.220318433828652]