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.001989/0.001989, allocations: 84.73 kB / 19.44 MB, free: 348 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.00276/0.00276, allocations: 161.7 kB / 22.75 MB, free: 1.676 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.514/1.514, 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.241/3.241, allocations: 429.6 MB / 0.673 GB, free: 3.898 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.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.373e-06/1.373e-06, allocations: 0 / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.627e-05, allocations: 3.078 kB / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002392/0.002418, allocations: 1.26 MB / 0.8788 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.003511, allocations: 446 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.003541, allocations: 4.781 kB / 0.8792 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.003644, allocations: 7.938 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.262e-05/0.003666, allocations: 1.094 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.004264, allocations: 119.5 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.00436, allocations: 24.42 kB / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.004401, allocations: 4.641 kB / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.004453, allocations: 23.91 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.586e-05/0.004489, allocations: 9.109 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.004509, allocations: 4 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.004818, allocations: 143.6 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.004873, allocations: 21 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.004918, allocations: 23.84 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.005186, allocations: 147.5 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.005188, allocations: 1.031 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.22e-07/0.005189, allocations: 0 / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.005193, allocations: 1.125 kB / 0.8797 GB, free: 4.328 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005848/0.005777, allocations: 372.3 kB / 0.8801 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.005811, allocations: 15.97 kB / 0.8801 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.005912, allocations: 21.86 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.006041, allocations: 117.6 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.006058, allocations: 4.375 kB / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.006071, allocations: 5.469 kB / 0.8802 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.006326, allocations: 150.1 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.006336, allocations: 0.9062 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.006347, allocations: 384 / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.006352, allocations: 1.938 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.92e-05/0.006451, allocations: 71.91 kB / 0.8804 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.006646, allocations: 121.2 kB / 0.8806 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.006789, allocations: 82.55 kB / 0.8806 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.006896, allocations: 74.38 kB / 0.8807 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.00691, allocations: 4 kB / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/0.007207, allocations: 177 kB / 0.8809 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 1.012e-06/0.007208, allocations: 0 / 0.8809 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38): time 0.0007403/0.007948, allocations: 425.5 kB / 0.8813 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.008049, allocations: 92.8 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.00821, allocations: 125.7 kB / 0.8815 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.008277, allocations: 53.69 kB / 0.8816 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.008351, allocations: 84.8 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.008469, allocations: 102.6 kB / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.008601, allocations: 89.67 kB / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002081/0.008809, allocations: 334.8 kB / 0.8821 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.009034, allocations: 148.6 kB / 0.8823 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.009367, allocations: 214.1 kB / 0.8825 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.009978, allocations: 411.3 kB / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.009981, allocations: 0 / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007163/0.0107, allocations: 466.4 kB / 0.8833 GB, free: 444 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.01072, allocations: 4 kB / 0.8833 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.01073, allocations: 0 / 0.8833 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.01075, allocations: 4 kB / 0.8833 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.01088, allocations: 23.92 kB / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.01089, allocations: 7.938 kB / 0.8834 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.01098, allocations: 36 kB / 0.8834 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.011, allocations: 12 kB / 0.8834 GB, free: 356 kB / 0.8386 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.0002196/0.01122, allocations: 189.8 kB / 0.8836 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.01124, allocations: 11.91 kB / 0.8836 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.01127, allocations: 13.61 kB / 0.8836 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.01128, allocations: 7.984 kB / 0.8836 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01128, allocations: 4 kB / 0.8836 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01129, allocations: 7.875 kB / 0.8836 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.01145, allocations: 117.2 kB / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.01145, allocations: 3.984 kB / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.01147, allocations: 4 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01147, allocations: 0 / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.01148, allocations: 0 / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01148, allocations: 4 kB / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01148, allocations: 0 / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.01195, allocations: 344.4 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.01198, allocations: 19.84 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.01201, allocations: 31.98 kB / 0.8841 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.01204, allocations: 0 / 0.8841 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.01206, allocations: 0 / 0.8841 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01207, allocations: 4 kB / 0.8841 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.01214, allocations: 91.2 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01214, allocations: 3.938 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003059/0.01244, allocations: 51.88 kB / 0.8843 GB, free: 15.41 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.0007866/0.01323, allocations: 224.8 kB / 0.8845 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.01366, allocations: 276.7 kB / 0.8848 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01367, allocations: 0 / 0.8848 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.629e-05/0.01376, allocations: 71.98 kB / 0.8848 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.01393, allocations: 10.28 kB / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.01445, allocations: 308.5 kB / 0.8851 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.01456, allocations: 105.7 kB / 0.8852 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.01461, allocations: 17.14 kB / 0.8852 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.01464, allocations: 16.48 kB / 0.8853 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of SimCode: time 4.6e-07/0.01464, allocations: 4 kB / 0.8853 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of Templates: time 0.00546/0.0201, allocations: 1.781 MB / 0.887 GB, free: 12.59 MB / 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.27220559597481]