Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001896/0.001896, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001999/0.001999, allocations: 159.7 kB / 22.45 MB, free: 5.375 MB / 14.72 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.59/1.59, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.889/2.889, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.705e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002247/0.002274, allocations: 1.239 MB / 0.9826 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000973/0.003247, allocations: 450.3 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.003279, allocations: 0 / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.439e-05/0.003364, allocations: 3.938 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.677e-05/0.003391, allocations: 3.938 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.003939, allocations: 123.5 kB / 0.9832 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.099e-05/0.00402, allocations: 27.91 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.004059, allocations: 3.984 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.004106, allocations: 15.98 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.455e-05/0.00414, allocations: 15.91 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.004157, allocations: 3.938 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.004471, allocations: 143.7 kB / 0.9834 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.004524, allocations: 23.92 kB / 0.9834 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.004559, allocations: 11.92 kB / 0.9834 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.004825, allocations: 151.5 kB / 0.9835 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004827, allocations: 0 / 0.9835 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004828, allocations: 4 kB / 0.9836 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.004833, allocations: 0 / 0.9836 GB, free: 9.816 MB / 0.9356 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.0005502/0.005383, allocations: 384.3 kB / 0.9839 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.005424, allocations: 12.03 kB / 0.9839 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.005521, allocations: 12.83 kB / 0.9839 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.005644, allocations: 117.6 kB / 0.9841 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.005662, allocations: 8.312 kB / 0.9841 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.005675, allocations: 4.375 kB / 0.9841 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.005894, allocations: 147.8 kB / 0.9842 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005902, allocations: 4.188 kB / 0.9842 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.005915, allocations: 8.375 kB / 0.9842 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.00592, allocations: 384 / 0.9842 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.674e-05/0.006007, allocations: 71.66 kB / 0.9843 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.00618, allocations: 121.2 kB / 0.9844 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.006305, allocations: 90.48 kB / 0.9845 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.006389, allocations: 68.88 kB / 0.9846 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.006401, allocations: 3.938 kB / 0.9846 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.006642, allocations: 175.3 kB / 0.9847 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=38): time 3.747e-06/0.006646, allocations: 4 kB / 0.9847 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38): time 0.0005828/0.007228, allocations: 420.3 kB / 0.9851 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.007307, allocations: 95.06 kB / 0.9852 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.007411, allocations: 129.7 kB / 0.9853 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.007461, allocations: 49.69 kB / 0.9854 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.007516, allocations: 88.78 kB / 0.9855 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.149e-05/0.007607, allocations: 95.31 kB / 0.9856 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.007716, allocations: 93.67 kB / 0.9857 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.007871, allocations: 334.8 kB / 0.986 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.008074, allocations: 140.6 kB / 0.9861 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.008324, allocations: 222.1 kB / 0.9863 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.008813, allocations: 418.1 kB / 0.9867 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.008816, allocations: 0 / 0.9867 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000573/0.009389, allocations: 446.4 kB / 0.9871 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.009403, allocations: 8.188 kB / 0.9872 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.009412, allocations: 4 kB / 0.9872 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.00943, allocations: 4 kB / 0.9872 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.009547, allocations: 19.92 kB / 0.9872 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.00956, allocations: 11.88 kB / 0.9872 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.009633, allocations: 35.67 kB / 0.9872 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.009654, allocations: 12 kB / 0.9872 GB, free: 5.812 MB / 0.9356 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.0001872/0.009841, allocations: 189.7 kB / 0.9874 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.009857, allocations: 7.906 kB / 0.9874 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.009886, allocations: 9.625 kB / 0.9874 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.009888, allocations: 0 / 0.9874 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.009894, allocations: 3.984 kB / 0.9874 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.0099, allocations: 3.938 kB / 0.9874 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.01002, allocations: 117.2 kB / 0.9876 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.01002, allocations: 0 / 0.9876 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.01004, allocations: 11.98 kB / 0.9876 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01005, allocations: 0 / 0.9876 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.01005, allocations: 0 / 0.9876 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.01006, allocations: 4 kB / 0.9876 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01006, allocations: 320 / 0.9876 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.0105, allocations: 341.5 kB / 0.9879 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.01052, allocations: 19.81 kB / 0.9879 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.01055, allocations: 31.98 kB / 0.9879 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.01057, allocations: 0 / 0.9879 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.0106, allocations: 8 kB / 0.988 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.0106, allocations: 0 / 0.988 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.01066, allocations: 91.2 kB / 0.988 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01066, allocations: 4 kB / 0.988 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003019/0.01096, allocations: 47.94 kB / 0.9881 GB, free: 4.887 MB / 0.9356 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.0004766/0.01144, allocations: 238.2 kB / 0.9883 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.01182, allocations: 265 kB / 0.9886 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01183, allocations: 0 / 0.9886 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-05/0.01192, allocations: 79.97 kB / 0.9886 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.01206, allocations: 4 kB / 0.9886 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.01254, allocations: 307.2 kB / 0.9889 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.01263, allocations: 106.2 kB / 0.989 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.01267, allocations: 21.08 kB / 0.9891 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.0127, allocations: 12.5 kB / 0.9891 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.0127, allocations: 0 / 0.9891 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.005431/0.01813, allocations: 1.76 MB / 0.9908 GB, free: 2.102 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.385883450508118]