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.001384/0.001384, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001856/0.001856, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.003/1.003, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.5/2.5, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.553e-06/1.553e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.37e-05, allocations: 8.281 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001918/0.001942, allocations: 1.325 MB / 0.8399 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003038, allocations: 486.2 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.003068, allocations: 0 / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.008e-05/0.003149, allocations: 3.938 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 1.998e-05/0.003168, allocations: 3.938 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.003631, allocations: 111.5 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.003712, allocations: 27.91 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.003746, allocations: 11.94 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.003787, allocations: 11.98 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.781e-05/0.003815, allocations: 11.97 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.003828, allocations: 4 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.004072, allocations: 151.6 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.004112, allocations: 27.86 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.004132, allocations: 7.938 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.004312, allocations: 151.5 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004315, allocations: 0 / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.302e-06/0.004316, allocations: 0 / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.00432, allocations: 4 kB / 0.8409 GB, free: 11.87 MB / 0.8073 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.0003902/0.004711, allocations: 366.7 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.004747, allocations: 12.62 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.869e-05/0.004826, allocations: 8.875 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/0.004915, allocations: 113.7 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.004935, allocations: 12.3 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.004943, allocations: 4.359 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.005056, allocations: 92.53 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005064, allocations: 192 / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.005071, allocations: 384 / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.005076, allocations: 384 / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.005101, allocations: 28.53 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.431e-05/0.005195, allocations: 91.64 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.005256, allocations: 42.52 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.005281, allocations: 24.86 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.005288, allocations: 0 / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.005404, allocations: 108 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 1.001e-06/0.005405, allocations: 0 / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0002226/0.005628, allocations: 206 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.005689, allocations: 91.31 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.005768, allocations: 126.6 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.005799, allocations: 53.67 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.005829, allocations: 84.8 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.176e-05/0.00589, allocations: 95.25 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.212e-05/0.005962, allocations: 89.61 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.006053, allocations: 342.7 kB / 0.8428 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.006104, allocations: 51.47 kB / 0.8428 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.746e-05/0.006182, allocations: 109.3 kB / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.006342, allocations: 215 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.006344, allocations: 0 / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000227/0.006571, allocations: 250.4 kB / 0.8434 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.006591, allocations: 10.48 kB / 0.8434 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.006599, allocations: 4 kB / 0.8434 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.006615, allocations: 3.938 kB / 0.8434 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.006773, allocations: 76 kB / 0.8434 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.006779, allocations: 4 kB / 0.8435 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.006821, allocations: 39.67 kB / 0.8435 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.006834, allocations: 7.938 kB / 0.8435 GB, free: 8.953 MB / 0.8073 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.0001095/0.006943, allocations: 172.6 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.006952, allocations: 4 kB / 0.8437 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.00698, allocations: 5.625 kB / 0.8437 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.006984, allocations: 4 kB / 0.8437 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006985, allocations: 0 / 0.8437 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.00699, allocations: 3.984 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.858e-05/0.007068, allocations: 89.67 kB / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.007071, allocations: 4 kB / 0.8438 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/0.007084, allocations: 0 / 0.8438 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.007086, allocations: 4 kB / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.007091, allocations: 0 / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007093, allocations: 4 kB / 0.8438 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.007095, allocations: 0 / 0.8438 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.007269, allocations: 193 kB / 0.844 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.007285, allocations: 19.78 kB / 0.844 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.007312, allocations: 23.98 kB / 0.844 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.241e-05/0.007325, allocations: 0 / 0.844 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.007345, allocations: 0 / 0.844 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.007356, allocations: 7.984 kB / 0.844 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.801e-05/0.007374, allocations: 12.84 kB / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.21e-07/0.007374, allocations: 0 / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002207/0.007595, allocations: 55.92 kB / 0.8441 GB, free: 8.312 MB / 0.8073 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.0004472/0.008042, allocations: 224.3 kB / 0.8443 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.008247, allocations: 140.6 kB / 0.8444 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.008251, allocations: 4.062 kB / 0.8444 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.008291, allocations: 48.81 kB / 0.8445 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/0.008392, allocations: 7.938 kB / 0.8445 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.008742, allocations: 249.9 kB / 0.8447 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.316e-05/0.008796, allocations: 75.83 kB / 0.8448 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.672e-05/0.008832, allocations: 12.64 kB / 0.8448 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.008883, allocations: 63.38 kB / 0.8449 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of SimCode: time 8.81e-07/0.008884, allocations: 0 / 0.8449 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of Templates: time 0.004206/0.01309, allocations: 1.956 MB / 0.8468 GB, free: 5.527 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.43394786817953]