Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.001369/0.001369, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001032/0.001032, allocations: 161 kB / 24.16 MB, free: 336 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 1.098/1.098, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.375 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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.607e-05, allocations: 7.016 kB / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.005753/0.005779, allocations: 1.274 MB / 0.7612 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007551/0.006534, allocations: 381.7 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.006566, allocations: 0 / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.206e-05/0.006648, allocations: 3.938 kB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.039e-05/0.006668, allocations: 0.5312 kB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003634/0.0103, allocations: 105.8 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.01038, allocations: 18.48 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.01042, allocations: 6.031 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.01046, allocations: 12.86 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.883e-05/0.01049, allocations: 4.766 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.01051, allocations: 1.219 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.01076, allocations: 123.7 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.01081, allocations: 24.69 kB / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.01084, allocations: 14.09 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.01106, allocations: 128.7 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01106, allocations: 0 / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01106, allocations: 1.203 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.01106, allocations: 0 / 0.762 GB, free: 4.625 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.0004072/0.01147, allocations: 335.1 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.01151, allocations: 9.969 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.536e-05/0.0116, allocations: 9.578 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.589e-05/0.0117, allocations: 117.6 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.01172, allocations: 4.375 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.01173, allocations: 4.359 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.01186, allocations: 89.59 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.01186, allocations: 192 / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.01187, allocations: 4.312 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.01188, allocations: 0.875 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/0.01191, allocations: 37.58 kB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.003e-05/0.012, allocations: 79.72 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.339e-05/0.01206, allocations: 34.58 kB / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.01209, allocations: 29.45 kB / 0.7627 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.0121, allocations: 0.6562 kB / 0.7627 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.01223, allocations: 105.2 kB / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.383e-06/0.01223, allocations: 0 / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0002562/0.01248, allocations: 210.6 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.01255, allocations: 87.31 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.01263, allocations: 124.4 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.01268, allocations: 49.69 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.01271, allocations: 80.8 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.01282, allocations: 99.28 kB / 0.7635 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/0.01292, allocations: 83.59 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.01303, allocations: 342.7 kB / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.01311, allocations: 51.47 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.01322, allocations: 105.3 kB / 0.764 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.01345, allocations: 217.6 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01345, allocations: 0 / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003271/0.01378, allocations: 256 kB / 0.7645 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.0138, allocations: 8 kB / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.0138, allocations: 0 / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.01382, allocations: 4 kB / 0.7645 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.01405, allocations: 63.91 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.01405, allocations: 4.938 kB / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.01411, allocations: 35.69 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.01413, allocations: 16.8 kB / 0.7646 GB, free: 1.789 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.0001433/0.01427, allocations: 168.9 kB / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.01429, allocations: 7.984 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.01432, allocations: 5.312 kB / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01432, allocations: 0 / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.01432, allocations: 0 / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.01432, allocations: 0 / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.01443, allocations: 85.66 kB / 0.7648 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01443, allocations: 9.125 kB / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.361e-05/0.01444, allocations: 3.938 kB / 0.7649 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01445, allocations: 4 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.01446, allocations: 8.859 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01446, allocations: 0 / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01446, allocations: 1.156 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.01465, allocations: 181.1 kB / 0.765 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.01467, allocations: 19.83 kB / 0.7651 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.0147, allocations: 28.8 kB / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.689e-05/0.01472, allocations: 288 / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.01474, allocations: 3.984 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.01474, allocations: 2.031 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.668e-05/0.01476, allocations: 12.84 kB / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01476, allocations: 0 / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002795/0.01504, allocations: 47.94 kB / 0.7652 GB, free: 1.172 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.0004294/0.01547, allocations: 207 kB / 0.7654 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003246/0.01871, allocations: 140.4 kB / 0.7655 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.01872, allocations: 0 / 0.7655 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.176e-05/0.01877, allocations: 48.77 kB / 0.7655 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.955e-05/0.01886, allocations: 9.156 kB / 0.7655 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.01921, allocations: 238.1 kB / 0.7658 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.712e-05/0.01926, allocations: 72.44 kB / 0.7658 GB, free: 452 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.588e-05/0.0193, allocations: 13.36 kB / 0.7659 GB, free: 440 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.01934, allocations: 62.81 kB / 0.7659 GB, free: 380 kB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/0.01934, allocations: 0 / 0.7659 GB, free: 380 kB / 0.7136 GB Notification: Performance of Templates: time 0.009402/0.02875, allocations: 1.711 MB / 0.7676 GB, free: 14.77 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.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.995401248335838]