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.002359/0.002359, allocations: 81.5 kB / 19.44 MB, free: 340 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.002844/0.002844, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.372/3.372, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.653e-06/1.653e-06, allocations: 0 / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.768e-05, allocations: 5.859 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002455/0.002483, allocations: 1.25 MB / 0.8786 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003496, allocations: 445.5 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.003521, allocations: 4.75 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.414e-05/0.003605, allocations: 3.938 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.987e-05/0.003625, allocations: 2.188 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.004141, allocations: 125.2 kB / 0.8792 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.004213, allocations: 16.58 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.004257, allocations: 5.25 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.636e-05/0.004303, allocations: 19.91 kB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.004337, allocations: 7.984 kB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.004352, allocations: 0 / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.004664, allocations: 140.6 kB / 0.8794 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.004715, allocations: 23.92 kB / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.004744, allocations: 8.969 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.005012, allocations: 147.4 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005013, allocations: 0 / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.62e-07/0.005014, allocations: 1.125 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.005019, allocations: 0 / 0.8795 GB, free: 4.512 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.0006161/0.005635, allocations: 478.3 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.005669, allocations: 13.16 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.574e-05/0.005765, allocations: 12.84 kB / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.005902, allocations: 116.5 kB / 0.8801 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.005926, allocations: 11.81 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.005935, allocations: 384 / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.00608, allocations: 77.08 kB / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.006089, allocations: 192 / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.006098, allocations: 384 / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.006102, allocations: 384 / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.471e-05/0.006166, allocations: 31.92 kB / 0.8802 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.006348, allocations: 136.4 kB / 0.8804 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.006452, allocations: 55.06 kB / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.006505, allocations: 32.75 kB / 0.8805 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.006518, allocations: 4 kB / 0.8805 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.006687, allocations: 117 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.152e-06/0.006688, allocations: 0 / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005286/0.007216, allocations: 306.2 kB / 0.8809 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.007297, allocations: 91.31 kB / 0.881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.007465, allocations: 187 kB / 0.8811 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.007522, allocations: 53.67 kB / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.007596, allocations: 127.5 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.007717, allocations: 108.7 kB / 0.8814 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.007863, allocations: 107.3 kB / 0.8815 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005344/0.008397, allocations: 0.5196 MB / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.008507, allocations: 52.64 kB / 0.8821 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.008738, allocations: 162.2 kB / 0.8822 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.009104, allocations: 238.4 kB / 0.8825 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.009109, allocations: 4 kB / 0.8825 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000484/0.009593, allocations: 318.6 kB / 0.8828 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.009607, allocations: 12.16 kB / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.009616, allocations: 3.984 kB / 0.8828 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.009635, allocations: 4 kB / 0.8828 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.009898, allocations: 63.91 kB / 0.8828 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.00991, allocations: 7.938 kB / 0.8828 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.606e-05/0.009986, allocations: 43.88 kB / 0.8829 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.01001, allocations: 8 kB / 0.8829 GB, free: 0.8164 MB / 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.0001974/0.01021, allocations: 220.4 kB / 0.8831 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.01023, allocations: 7.953 kB / 0.8831 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.01025, allocations: 9.312 kB / 0.8831 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01025, allocations: 48 / 0.8831 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.01026, allocations: 3.984 kB / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.01026, allocations: 3.938 kB / 0.8831 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.01041, allocations: 136.2 kB / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.01041, allocations: 4 kB / 0.8833 GB, free: 408 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.01042, allocations: 4 kB / 0.8833 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.01042, allocations: 0 / 0.8833 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.01043, allocations: 0 / 0.8833 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.01044, allocations: 4 kB / 0.8833 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01044, allocations: 0 / 0.8833 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.01083, allocations: 294.6 kB / 0.8836 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.01085, allocations: 23.72 kB / 0.8836 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.01088, allocations: 23.98 kB / 0.8836 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.621e-05/0.0109, allocations: 0 / 0.8836 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.01093, allocations: 3.984 kB / 0.8836 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.01094, allocations: 0 / 0.8836 GB, free: 32 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.726e-05/0.01103, allocations: 131.1 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01103, allocations: 4 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002743/0.0113, allocations: 51.92 kB / 0.8838 GB, free: 15.85 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.0005031/0.0118, allocations: 218.9 kB / 0.884 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.01213, allocations: 178 kB / 0.8842 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01213, allocations: 0 / 0.8842 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.389e-05/0.0122, allocations: 55.67 kB / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.01234, allocations: 10.28 kB / 0.8842 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.01275, allocations: 241.3 kB / 0.8845 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.01287, allocations: 97.62 kB / 0.8845 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.0129, allocations: 12.64 kB / 0.8846 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.01294, allocations: 20.48 kB / 0.8846 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.01294, allocations: 0 / 0.8846 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.005308/0.01824, allocations: 1.748 MB / 0.8863 GB, free: 13.26 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=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","/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.576718087075278]