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.001846/0.001846, allocations: 85.48 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.002001/0.002001, allocations: 177.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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.363/3.363, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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.312e-06/1.312e-06, allocations: 0 / 0.8774 GB, free: 5.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.929e-05, allocations: 6.25 kB / 0.8774 GB, free: 5.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002449/0.002478, allocations: 1.249 MB / 0.8786 GB, free: 4.273 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003566, allocations: 495.1 kB / 0.8791 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.003594, allocations: 0 / 0.8791 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.355e-05/0.003678, allocations: 0.9688 kB / 0.8791 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.238e-05/0.0037, allocations: 5.031 kB / 0.8791 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.00429, allocations: 126.7 kB / 0.8792 GB, free: 3.668 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.004399, allocations: 23.64 kB / 0.8793 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.004436, allocations: 4 kB / 0.8793 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.148e-05/0.004487, allocations: 15.98 kB / 0.8793 GB, free: 3.629 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.00453, allocations: 15.91 kB / 0.8793 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.004548, allocations: 0 / 0.8793 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.004902, allocations: 149 kB / 0.8794 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.004967, allocations: 23.92 kB / 0.8795 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.005004, allocations: 7.938 kB / 0.8795 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.005342, allocations: 159.4 kB / 0.8796 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.005346, allocations: 1.094 kB / 0.8796 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005347, allocations: 0 / 0.8796 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.005352, allocations: 0 / 0.8796 GB, free: 3.281 MB / 0.7917 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.0007668/0.006119, allocations: 474.9 kB / 0.8801 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.006173, allocations: 13.62 kB / 0.8801 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.006335, allocations: 16.83 kB / 0.8801 GB, free: 2.746 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.006511, allocations: 128.4 kB / 0.8802 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.006539, allocations: 8.375 kB / 0.8802 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.006551, allocations: 2.844 kB / 0.8802 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.006731, allocations: 80.94 kB / 0.8803 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.006743, allocations: 192 / 0.8803 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.006757, allocations: 384 / 0.8803 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.006765, allocations: 384 / 0.8803 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.434e-05/0.006829, allocations: 31.92 kB / 0.8803 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.007066, allocations: 132.5 kB / 0.8805 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.007201, allocations: 53.12 kB / 0.8805 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.00726, allocations: 31.69 kB / 0.8805 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.007273, allocations: 7.875 kB / 0.8806 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.007482, allocations: 115.8 kB / 0.8807 GB, free: 2.074 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=37): time 9.92e-07/0.007483, allocations: 0 / 0.8807 GB, free: 2.074 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37): time 0.0005938/0.008076, allocations: 311.6 kB / 0.881 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/0.008175, allocations: 83.31 kB / 0.881 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.008355, allocations: 201.8 kB / 0.8812 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.008407, allocations: 45.69 kB / 0.8813 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.008492, allocations: 131.5 kB / 0.8814 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.008616, allocations: 108.5 kB / 0.8815 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.008763, allocations: 115.3 kB / 0.8816 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003173/0.00908, allocations: 0.5157 MB / 0.8821 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.00934, allocations: 64.56 kB / 0.8822 GB, free: 468 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.009563, allocations: 150.3 kB / 0.8823 GB, free: 288 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.009916, allocations: 246.4 kB / 0.8826 GB, free: 16 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.009919, allocations: 0 / 0.8826 GB, free: 16 kB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005009/0.01042, allocations: 322.8 kB / 0.8829 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.01044, allocations: 5.875 kB / 0.8829 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.01045, allocations: 7.984 kB / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.01047, allocations: 4 kB / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.01073, allocations: 67.91 kB / 0.8829 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.01074, allocations: 7.875 kB / 0.883 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.01081, allocations: 31.73 kB / 0.883 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.01084, allocations: 15.98 kB / 0.883 GB, free: 15.55 MB / 0.8073 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.0002081/0.01104, allocations: 216.5 kB / 0.8832 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.01106, allocations: 11.91 kB / 0.8832 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.0111, allocations: 17.61 kB / 0.8832 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.0111, allocations: 0 / 0.8832 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01111, allocations: 0 / 0.8832 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.01111, allocations: 3.938 kB / 0.8832 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.01125, allocations: 132.5 kB / 0.8834 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01125, allocations: 4 kB / 0.8834 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.01127, allocations: 4 kB / 0.8834 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01127, allocations: 0 / 0.8834 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.01128, allocations: 0 / 0.8834 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01128, allocations: 0 / 0.8834 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01128, allocations: 0 / 0.8834 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.01166, allocations: 298.6 kB / 0.8837 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.01169, allocations: 19.84 kB / 0.8837 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.01173, allocations: 27.98 kB / 0.8837 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.807e-05/0.01174, allocations: 0 / 0.8837 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.01177, allocations: 0 / 0.8837 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.01177, allocations: 8 kB / 0.8837 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.487e-05/0.01185, allocations: 131.1 kB / 0.8838 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01185, allocations: 0 / 0.8838 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002924/0.01214, allocations: 55.88 kB / 0.8839 GB, free: 14.57 MB / 0.8073 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.0005498/0.01269, allocations: 235.1 kB / 0.8841 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.01302, allocations: 181.8 kB / 0.8843 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01302, allocations: 0 / 0.8843 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.0131, allocations: 55.67 kB / 0.8843 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.01324, allocations: 6.062 kB / 0.8843 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.01366, allocations: 241.7 kB / 0.8846 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.01377, allocations: 113.1 kB / 0.8847 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.843e-05/0.01381, allocations: 12.64 kB / 0.8847 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.01384, allocations: 12.5 kB / 0.8847 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.01384, allocations: 0 / 0.8847 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.005596/0.01944, allocations: 1.793 MB / 0.8865 GB, free: 11.92 MB / 0.8073 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","/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.457400214043446]