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.001688/0.001688, 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.002156/0.002156, allocations: 157.6 kB / 22.76 MB, free: 1.68 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.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.209/3.209, allocations: 429.6 MB / 0.673 GB, free: 3.891 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.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.513e-06/1.513e-06, allocations: 0 / 0.8776 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.158e-05, allocations: 3 kB / 0.8776 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002606/0.002638, allocations: 1.253 MB / 0.8788 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.003702, allocations: 433.9 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.003731, allocations: 0 / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.276e-05/0.003824, allocations: 3.938 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.142e-05/0.003846, allocations: 1.594 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.004418, allocations: 123.4 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.004512, allocations: 25.14 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.00455, allocations: 3.984 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.004601, allocations: 19.97 kB / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.519e-05/0.004627, allocations: 0.5 kB / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.004642, allocations: 4.906 kB / 0.8794 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.004958, allocations: 139.7 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.005014, allocations: 31.3 kB / 0.8795 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.005058, allocations: 11.92 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.00534, allocations: 143.5 kB / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005343, allocations: 0 / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005344, allocations: 0 / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.005348, allocations: 0 / 0.8797 GB, free: 4.387 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.0006329/0.005981, allocations: 376.3 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.00602, allocations: 8.031 kB / 0.88 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.006124, allocations: 16.84 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.006263, allocations: 118.2 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.006282, allocations: 384 / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.006296, allocations: 9.641 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.006533, allocations: 143.1 kB / 0.8803 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.006542, allocations: 192 / 0.8803 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.006552, allocations: 5.844 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.006557, allocations: 384 / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.061e-05/0.006647, allocations: 67.91 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.00684, allocations: 125.1 kB / 0.8805 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.006971, allocations: 78.56 kB / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.791e-05/0.007069, allocations: 72.86 kB / 0.8807 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.007085, allocations: 8 kB / 0.8807 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.007369, allocations: 167.3 kB / 0.8808 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.202e-06/0.00737, allocations: 0 / 0.8808 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0006532/0.008024, allocations: 413.8 kB / 0.8812 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/0.008111, allocations: 83.33 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.008244, allocations: 129.7 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.887e-05/0.008313, allocations: 49.69 kB / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.008616, allocations: 88.8 kB / 0.8816 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.008731, allocations: 95.36 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.008855, allocations: 93.67 kB / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.00906, allocations: 334.8 kB / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.009276, allocations: 140.6 kB / 0.8822 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.00957, allocations: 213.2 kB / 0.8824 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.01013, allocations: 405.3 kB / 0.8828 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01013, allocations: 4 kB / 0.8828 GB, free: 1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006553/0.01078, allocations: 450.5 kB / 0.8832 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.0108, allocations: 4 kB / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.01081, allocations: 4 kB / 0.8832 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.01083, allocations: 256 / 0.8832 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01094, allocations: 19.92 kB / 0.8832 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.01095, allocations: 11.94 kB / 0.8832 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.229e-05/0.01104, allocations: 47.56 kB / 0.8833 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.01105, allocations: 12.16 kB / 0.8833 GB, free: 472 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.0002172/0.01127, allocations: 181.7 kB / 0.8835 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.0113, allocations: 7.953 kB / 0.8835 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.01132, allocations: 5.312 kB / 0.8835 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01132, allocations: 4 kB / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01132, allocations: 0 / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.01133, allocations: 3.938 kB / 0.8835 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.01148, allocations: 124.9 kB / 0.8836 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01148, allocations: 0 / 0.8836 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.01149, allocations: 4 kB / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01149, allocations: 0 / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.0115, allocations: 0 / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.0115, allocations: 0 / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.0115, allocations: 0 / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.01201, allocations: 339.4 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.01204, allocations: 23.78 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.01207, allocations: 23.98 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.689e-05/0.01209, allocations: 3.938 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.01214, allocations: 11.98 kB / 0.884 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.01214, allocations: 0 / 0.884 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.0122, allocations: 83.22 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0122, allocations: 0 / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003078/0.01251, allocations: 55.92 kB / 0.8841 GB, free: 15.55 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.0005372/0.01305, allocations: 222.3 kB / 0.8843 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000447/0.01349, allocations: 269 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01349, allocations: 0 / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.0136, allocations: 79.91 kB / 0.8847 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.01376, allocations: 10.97 kB / 0.8847 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.01429, allocations: 295.6 kB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.0144, allocations: 97.31 kB / 0.8851 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.01445, allocations: 16.64 kB / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.01449, allocations: 20.5 kB / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.01449, allocations: 0 / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.005362/0.01985, allocations: 1.749 MB / 0.8868 GB, free: 12.8 MB / 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.329527823021635]