Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.001091/0.001091, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009636/0.0009636, allocations: 170 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.9929/0.9929, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.396/2.396, allocations: 438.1 MB / 0.682 GB, free: 14.13 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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.164e-05, allocations: 9.406 kB / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.004448/0.00447, allocations: 1.262 MB / 0.8909 GB, free: 8.477 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007535/0.005223, allocations: 442.4 kB / 0.8914 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.005251, allocations: 0 / 0.8914 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.036e-05/0.005321, allocations: 4 kB / 0.8914 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.384e-05/0.005345, allocations: 7.938 kB / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.005782, allocations: 115.5 kB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.005848, allocations: 23.86 kB / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.154e-05/0.00588, allocations: 7.984 kB / 0.8915 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.005917, allocations: 11.94 kB / 0.8915 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.214e-05/0.005939, allocations: 11.97 kB / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.00595, allocations: 0 / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.00617, allocations: 143.7 kB / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/0.006206, allocations: 23.92 kB / 0.8917 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.006225, allocations: 11.94 kB / 0.8917 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.006408, allocations: 143.5 kB / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.006409, allocations: 0 / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00641, allocations: 4 kB / 0.8919 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.006413, allocations: 3.938 kB / 0.8919 GB, free: 7.539 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.0003481/0.006761, allocations: 478.6 kB / 0.8923 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.006794, allocations: 8.625 kB / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.006862, allocations: 12.84 kB / 0.8923 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.498e-05/0.006937, allocations: 124.4 kB / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.006948, allocations: 4.375 kB / 0.8925 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.006956, allocations: 8.375 kB / 0.8925 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.6e-05/0.007042, allocations: 81.84 kB / 0.8925 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.007049, allocations: 4.172 kB / 0.8926 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-06/0.007054, allocations: 384 / 0.8926 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.007059, allocations: 384 / 0.8926 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.267e-05/0.007081, allocations: 24.53 kB / 0.8926 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.474e-05/0.007176, allocations: 117.1 kB / 0.8927 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.128e-05/0.007227, allocations: 51 kB / 0.8927 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004043/0.01127, allocations: 31.72 kB / 0.8928 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.01128, allocations: 0 / 0.8928 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.0114, allocations: 111 kB / 0.8929 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 1.122e-06/0.01141, allocations: 0 / 0.8929 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0005044/0.01191, allocations: 308.3 kB / 0.8932 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.01196, allocations: 83.33 kB / 0.8932 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.01206, allocations: 185.8 kB / 0.8934 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.01209, allocations: 45.69 kB / 0.8935 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.01214, allocations: 135.5 kB / 0.8936 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.414e-05/0.01223, allocations: 95.33 kB / 0.8937 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/0.01232, allocations: 111.2 kB / 0.8938 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.01244, allocations: 0.5195 MB / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/0.0125, allocations: 48.62 kB / 0.8943 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.0126, allocations: 134.2 kB / 0.8945 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.01278, allocations: 214.3 kB / 0.8947 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01279, allocations: 0 / 0.8947 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000282/0.01307, allocations: 306.6 kB / 0.895 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.01308, allocations: 7.938 kB / 0.895 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01308, allocations: 0 / 0.895 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.0131, allocations: 4 kB / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.01327, allocations: 67.91 kB / 0.895 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.01328, allocations: 7.984 kB / 0.8951 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.01333, allocations: 39.61 kB / 0.8951 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.01334, allocations: 4 kB / 0.8951 GB, free: 3.961 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 0.0001166/0.01346, allocations: 216.5 kB / 0.8953 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.01347, allocations: 11.91 kB / 0.8953 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.01349, allocations: 9.297 kB / 0.8953 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.01349, allocations: 4 kB / 0.8953 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01349, allocations: 0 / 0.8953 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.0135, allocations: 256 / 0.8953 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.097e-05/0.01358, allocations: 121 kB / 0.8954 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01358, allocations: 8 kB / 0.8954 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-06/0.01358, allocations: 0 / 0.8954 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.01359, allocations: 0 / 0.8954 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.01359, allocations: 7.984 kB / 0.8955 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.01359, allocations: 0 / 0.8955 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01359, allocations: 0 / 0.8955 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.01384, allocations: 274.9 kB / 0.8957 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.01385, allocations: 15.84 kB / 0.8957 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.01388, allocations: 27.98 kB / 0.8958 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.01389, allocations: 3.938 kB / 0.8958 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.01391, allocations: 3.984 kB / 0.8958 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.01391, allocations: 4 kB / 0.8958 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.089e-05/0.01394, allocations: 123.2 kB / 0.8959 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01394, allocations: 0 / 0.8959 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003243/0.01718, allocations: 55.92 kB / 0.8959 GB, free: 3.035 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.0003108/0.01749, allocations: 220.1 kB / 0.8962 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.01767, allocations: 163.1 kB / 0.8963 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.01768, allocations: 0 / 0.8963 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.01772, allocations: 63.09 kB / 0.8964 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.01785, allocations: 15.81 kB / 0.8964 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.01811, allocations: 241.6 kB / 0.8966 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.01815, allocations: 75.83 kB / 0.8967 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.02e-05/0.01819, allocations: 12.64 kB / 0.8967 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.01823, allocations: 78.2 kB / 0.8968 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.01823, allocations: 0 / 0.8968 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of Templates: time 0.006785/0.02502, allocations: 1.895 MB / 0.8986 GB, free: 260 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.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.304270677734166]