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.001439/0.001439, allocations: 88.72 kB / 19.44 MB, free: 356 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.001613/0.001613, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.597/1.597, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.308/3.308, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] 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.583e-06/1.583e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.792e-05, allocations: 3.25 kB / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002528/0.002556, allocations: 1.253 MB / 0.8788 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.003679, allocations: 473.7 kB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.003712, allocations: 3.938 kB / 0.8792 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.919e-05/0.003792, allocations: 5.328 kB / 0.8792 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.469e-05/0.003816, allocations: 7.875 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.004432, allocations: 120.5 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.632e-05/0.004508, allocations: 23.92 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.004546, allocations: 9.109 kB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.235e-05/0.004599, allocations: 15.92 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.4e-05/0.004633, allocations: 7.984 kB / 0.8794 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.004649, allocations: 5.062 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.004985, allocations: 147.7 kB / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.005037, allocations: 23.92 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.005074, allocations: 12.94 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.005375, allocations: 151.4 kB / 0.8798 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005377, allocations: 0 / 0.8798 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.01e-07/0.005378, allocations: 0.7188 kB / 0.8798 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.005382, allocations: 0 / 0.8798 GB, free: 4.297 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.0006103/0.005992, allocations: 384.8 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.006028, allocations: 9.5 kB / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.006131, allocations: 16.84 kB / 0.8801 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.00627, allocations: 129.5 kB / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.006289, allocations: 4.375 kB / 0.8803 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.006299, allocations: 4.938 kB / 0.8803 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.006527, allocations: 139.9 kB / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.006535, allocations: 192 / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.006545, allocations: 1.469 kB / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.00655, allocations: 4.312 kB / 0.8804 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.006641, allocations: 67.91 kB / 0.8805 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.00682, allocations: 121.9 kB / 0.8806 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.006953, allocations: 79.97 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.007044, allocations: 68.88 kB / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.007055, allocations: 0 / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.007337, allocations: 182.7 kB / 0.8809 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.022e-06/0.007338, allocations: 0 / 0.8809 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0006512/0.007989, allocations: 409.8 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.008071, allocations: 83.33 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.008201, allocations: 129.7 kB / 0.8815 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.008263, allocations: 53.69 kB / 0.8816 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.008321, allocations: 84.8 kB / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.008454, allocations: 103.3 kB / 0.8817 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.008573, allocations: 85.69 kB / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.008758, allocations: 335.9 kB / 0.8821 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.008967, allocations: 148.6 kB / 0.8823 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.009243, allocations: 209.2 kB / 0.8825 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.009798, allocations: 404 kB / 0.8829 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.009806, allocations: 4 kB / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006678/0.01047, allocations: 458.5 kB / 0.8833 GB, free: 464 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01049, allocations: 4 kB / 0.8833 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.0105, allocations: 4 kB / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.01052, allocations: 0 / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.01064, allocations: 19.92 kB / 0.8833 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.01065, allocations: 11.88 kB / 0.8833 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.01074, allocations: 31.73 kB / 0.8834 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.01076, allocations: 8 kB / 0.8834 GB, free: 384 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.0002951/0.01105, allocations: 193.8 kB / 0.8836 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.01108, allocations: 15.94 kB / 0.8836 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.01111, allocations: 9.625 kB / 0.8836 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01111, allocations: 0 / 0.8836 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.01112, allocations: 0 / 0.8836 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.01112, allocations: 11.92 kB / 0.8836 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.01126, allocations: 116.9 kB / 0.8837 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/0.01129, allocations: 48 / 0.8837 GB, free: 16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.01131, allocations: 8 kB / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01131, allocations: 3.938 kB / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.01132, allocations: 0 / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01132, allocations: 4 kB / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01132, allocations: 0 / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.01178, allocations: 331.3 kB / 0.884 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.01181, allocations: 23.83 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.01184, allocations: 23.98 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/0.01186, allocations: 7.938 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.01189, allocations: 0 / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.0119, allocations: 4 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.459e-05/0.01196, allocations: 95.5 kB / 0.8842 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01196, allocations: 0 / 0.8842 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000327/0.01229, allocations: 55.88 kB / 0.8842 GB, free: 15.44 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.0005252/0.01282, allocations: 234.6 kB / 0.8845 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.01325, allocations: 272.9 kB / 0.8847 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01325, allocations: 0 / 0.8847 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.01335, allocations: 71.98 kB / 0.8848 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.01351, allocations: 4 kB / 0.8848 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.01402, allocations: 307.8 kB / 0.8851 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.01413, allocations: 97.31 kB / 0.8852 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.494e-05/0.01418, allocations: 16.64 kB / 0.8852 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.01422, allocations: 16.5 kB / 0.8852 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.01422, allocations: 0 / 0.8852 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.005417/0.01963, allocations: 1.804 MB / 0.887 GB, free: 12.61 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.491879111970775]