Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.0009145/0.0009145, allocations: 82.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.0009932/0.0009932, allocations: 174 kB / 23.28 MB, free: 1.219 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.9805/0.9805, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.311/2.311, allocations: 438.1 MB / 0.682 GB, free: 14.17 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.452e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00145/0.001464, allocations: 1.266 MB / 0.8909 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006405/0.002105, allocations: 462.3 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.002136, allocations: 0 / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.031e-05/0.002206, allocations: 0 / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.345e-05/0.00223, allocations: 3.938 kB / 0.8914 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.002666, allocations: 123.5 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.002738, allocations: 31.89 kB / 0.8915 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.026e-05/0.002768, allocations: 3.938 kB / 0.8915 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.002805, allocations: 15.98 kB / 0.8916 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.499e-05/0.00283, allocations: 11.97 kB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.002843, allocations: 0 / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.003045, allocations: 143.7 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.003081, allocations: 23.92 kB / 0.8917 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.003101, allocations: 11.88 kB / 0.8917 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.003266, allocations: 151.5 kB / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.452e-06/0.003267, allocations: 0 / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.62e-07/0.003268, allocations: 4 kB / 0.8919 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003271, allocations: 0 / 0.8919 GB, free: 7.531 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004546/0.003725, allocations: 494.4 kB / 0.8924 GB, free: 7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.00377, allocations: 12.62 kB / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.003878, allocations: 12.84 kB / 0.8924 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.911e-05/0.003967, allocations: 120.5 kB / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.003981, allocations: 4.375 kB / 0.8925 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-06/0.003988, allocations: 384 / 0.8925 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.967e-05/0.004088, allocations: 88.94 kB / 0.8926 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004094, allocations: 4.172 kB / 0.8926 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.0041, allocations: 4.375 kB / 0.8926 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.004104, allocations: 384 / 0.8926 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.004126, allocations: 28.5 kB / 0.8926 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.004228, allocations: 113.1 kB / 0.8927 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.00428, allocations: 59.05 kB / 0.8928 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/0.004307, allocations: 35.47 kB / 0.8928 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.004313, allocations: 4 kB / 0.8928 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.004423, allocations: 111.4 kB / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=38): time 1.002e-06/0.004424, allocations: 0 / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38): time 0.0003043/0.004728, allocations: 311.3 kB / 0.8932 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.004774, allocations: 87.31 kB / 0.8933 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.004863, allocations: 193.8 kB / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.004886, allocations: 41.69 kB / 0.8935 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.004927, allocations: 139.5 kB / 0.8937 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.004992, allocations: 99.31 kB / 0.8938 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.005068, allocations: 107.3 kB / 0.8939 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.005185, allocations: 0.5156 MB / 0.8944 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.005235, allocations: 44.62 kB / 0.8944 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.456e-05/0.005329, allocations: 145.9 kB / 0.8946 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.005497, allocations: 230 kB / 0.8948 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.005501, allocations: 7.984 kB / 0.8948 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0002598/0.005761, allocations: 306.5 kB / 0.8951 GB, free: 4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.005774, allocations: 4.188 kB / 0.8951 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.005783, allocations: 7.984 kB / 0.8951 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.005796, allocations: 4 kB / 0.8951 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.005951, allocations: 75.84 kB / 0.8952 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.005957, allocations: 4 kB / 0.8952 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.006002, allocations: 39.55 kB / 0.8952 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.006013, allocations: 12 kB / 0.8952 GB, free: 3.855 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 41 * 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.0001172/0.00613, allocations: 212.5 kB / 0.8954 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.006146, allocations: 15.91 kB / 0.8954 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.006174, allocations: 5.625 kB / 0.8954 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006176, allocations: 4 kB / 0.8954 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.006178, allocations: 0 / 0.8954 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006181, allocations: 0 / 0.8954 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.147e-05/0.006263, allocations: 121 kB / 0.8956 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006264, allocations: 0 / 0.8956 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.006278, allocations: 8 kB / 0.8956 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.00628, allocations: 0 / 0.8956 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.006286, allocations: 4 kB / 0.8956 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006287, allocations: 0 / 0.8956 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.006288, allocations: 7.922 kB / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.006517, allocations: 288.7 kB / 0.8959 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.006531, allocations: 15.84 kB / 0.8959 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.006555, allocations: 24.36 kB / 0.8959 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.419e-05/0.006569, allocations: 0 / 0.8959 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.006587, allocations: 7.984 kB / 0.8959 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.006592, allocations: 4 kB / 0.8959 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.106e-05/0.006623, allocations: 127.2 kB / 0.896 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006623, allocations: 0 / 0.896 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002079/0.006831, allocations: 55.92 kB / 0.8961 GB, free: 2.91 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 (5): * Single equations (assignments): 3 * 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.0003159/0.007147, allocations: 227.1 kB / 0.8963 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.007318, allocations: 170.9 kB / 0.8965 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.00732, allocations: 0 / 0.8965 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.739e-05/0.007357, allocations: 59.53 kB / 0.8965 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.007472, allocations: 11.94 kB / 0.8965 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.007726, allocations: 245.5 kB / 0.8968 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.856e-05/0.007765, allocations: 72.72 kB / 0.8968 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.007795, allocations: 17.14 kB / 0.8968 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.007833, allocations: 78.2 kB / 0.8969 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.007834, allocations: 0 / 0.8969 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of Templates: time 0.00348/0.01131, allocations: 1.94 MB / 0.8988 GB, free: 72 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.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.164229474030435]