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.001468/0.001468, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001622/0.001622, allocations: 169 kB / 23.02 MB, free: 1.551 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.9452/0.9452, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.21/2.21, allocations: 429.5 MB / 0.6733 GB, free: 4.051 MB / 0.6355 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.403e-06/1.403e-06, allocations: 0 / 0.8781 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.39e-05, allocations: 6.312 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001754/0.001778, allocations: 1.295 MB / 0.8794 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000775/0.002553, allocations: 490.9 kB / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.002587, allocations: 0 / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.002688, allocations: 8.453 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.114e-05/0.002709, allocations: 1.312 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.003275, allocations: 126.8 kB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.461e-05/0.00336, allocations: 27.91 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.003397, allocations: 4.531 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.003437, allocations: 12.92 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.708e-05/0.003464, allocations: 11.98 kB / 0.8801 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.003481, allocations: 0 / 0.8801 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.003702, allocations: 152.6 kB / 0.8802 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.003744, allocations: 23.88 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.003773, allocations: 11.92 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.003977, allocations: 148.8 kB / 0.8804 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003979, allocations: 3.938 kB / 0.8804 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/0.00398, allocations: 0 / 0.8804 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.003985, allocations: 1.094 kB / 0.8804 GB, free: 4.09 MB / 0.8386 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.0004642/0.004449, allocations: 490.5 kB / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.004485, allocations: 9.031 kB / 0.8809 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.508e-05/0.00457, allocations: 16.83 kB / 0.8809 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.159e-05/0.004662, allocations: 124.5 kB / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.004678, allocations: 1.094 kB / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.00469, allocations: 4.375 kB / 0.881 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.004814, allocations: 90.53 kB / 0.8811 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.004825, allocations: 192 / 0.8811 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.004834, allocations: 3.812 kB / 0.8811 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.006e-06/0.004842, allocations: 384 / 0.8811 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.004872, allocations: 31.92 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.005006, allocations: 140.4 kB / 0.8812 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.175e-05/0.005067, allocations: 55 kB / 0.8813 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.005106, allocations: 35.69 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.005114, allocations: 0 / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.005219, allocations: 115.7 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 8.21e-07/0.00522, allocations: 0 / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.000345/0.005565, allocations: 312.3 kB / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.005613, allocations: 91.06 kB / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.005706, allocations: 193.8 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.005732, allocations: 49.69 kB / 0.8821 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.005772, allocations: 135.5 kB / 0.8822 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.005838, allocations: 99.36 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.005914, allocations: 103.3 kB / 0.8824 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.006037, allocations: 0.5118 MB / 0.8829 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.006103, allocations: 56.62 kB / 0.8829 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.006222, allocations: 150.3 kB / 0.8831 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.006429, allocations: 246.4 kB / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006432, allocations: 0 / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002834/0.006715, allocations: 322.5 kB / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.006729, allocations: 8 kB / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.006736, allocations: 0 / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.006755, allocations: 7.938 kB / 0.8836 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.006922, allocations: 71.91 kB / 0.8837 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.00693, allocations: 7.938 kB / 0.8837 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.006974, allocations: 35.83 kB / 0.8838 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.006987, allocations: 12 kB / 0.8838 GB, free: 372 kB / 0.8386 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.0001178/0.007105, allocations: 212.5 kB / 0.884 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.007117, allocations: 11.91 kB / 0.884 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.007146, allocations: 13.66 kB / 0.884 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.007149, allocations: 7.984 kB / 0.884 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.007153, allocations: 0 / 0.884 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.007159, allocations: 7.938 kB / 0.884 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.438e-05/0.007253, allocations: 132.5 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.007254, allocations: 0 / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.207e-05/0.007266, allocations: 0 / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.007268, allocations: 0 / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.007278, allocations: 4 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.007278, allocations: 0 / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.007281, allocations: 3.938 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.007524, allocations: 289.8 kB / 0.8844 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.007536, allocations: 27.78 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.00756, allocations: 19.98 kB / 0.8845 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.007572, allocations: 0 / 0.8845 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.007594, allocations: 4 kB / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.007598, allocations: 0 / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.00764, allocations: 135.1 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.00764, allocations: 0 / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002067/0.007846, allocations: 51.94 kB / 0.8846 GB, free: 15.4 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.0003532/0.0082, allocations: 240 kB / 0.8849 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.00841, allocations: 178 kB / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008412, allocations: 0 / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.589e-05/0.008458, allocations: 59.61 kB / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.008574, allocations: 4.312 kB / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.008881, allocations: 253 kB / 0.8853 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.08e-05/0.008922, allocations: 71.84 kB / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.008951, allocations: 12.64 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.008974, allocations: 20.48 kB / 0.8854 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/0.008975, allocations: 0 / 0.8854 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of Templates: time 0.003564/0.01254, allocations: 1.804 MB / 0.8872 GB, free: 12.75 MB / 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.675952090881765]