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.001701/0.001701, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001982/0.001982, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.222/3.222, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_12_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_12_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003249/0.003249, allocations: 65.55 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3616, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002509/0.3641, allocations: 1.25 MB / 1.326 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.3651, allocations: 451 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.3651, allocations: 4 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.115e-05/0.3651, allocations: 3.938 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.222e-05/0.3652, allocations: 3.938 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.3657, allocations: 123.6 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.889e-05/0.3658, allocations: 31.84 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.3658, allocations: 0 / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.502e-05/0.3658, allocations: 7.984 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.338e-05/0.3659, allocations: 11.94 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.3659, allocations: 4 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.3662, allocations: 147.7 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.3662, allocations: 27.88 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.3662, allocations: 23.8 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3665, allocations: 139.7 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.3665, allocations: 0 / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3665, allocations: 0 / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3665, allocations: 0 / 1.327 GB, free: 164 kB / 1.014 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.0005235/0.367, allocations: 380.3 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.367, allocations: 8.031 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.3671, allocations: 50.73 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.3672, allocations: 16.83 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3673, allocations: 122.4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3673, allocations: 4.375 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3673, allocations: 4.312 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.3675, allocations: 158.8 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3676, allocations: 3.938 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.3676, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3676, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.3677, allocations: 63.98 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.368, allocations: 255.8 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.3682, allocations: 98.8 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/0.3683, allocations: 84.33 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.3683, allocations: 7.984 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.3685, allocations: 176.3 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 1.213e-06/0.3685, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=39): time 0.0006291/0.3692, allocations: 430.3 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.3692, allocations: 95.3 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3694, allocations: 122 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.3694, allocations: 57.67 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.3695, allocations: 81.14 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.3696, allocations: 107.3 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.3697, allocations: 93.67 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3699, allocations: 334.8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3701, allocations: 140.6 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.3704, allocations: 222.2 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.3709, allocations: 418.1 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3709, allocations: 7.938 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005887/0.3715, allocations: 446.5 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3715, allocations: 8 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3715, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3715, allocations: 7.984 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.3716, allocations: 19.94 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3717, allocations: 4 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.1e-05/0.3717, allocations: 35.67 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.3718, allocations: 12 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 72 (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,$outputAlias_y,$PRE.$outputAlias_y,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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.0001877/0.3719, allocations: 188 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.372, allocations: 19.89 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.372, allocations: 5.625 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.372, allocations: 4 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.372, allocations: 7.938 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.372, allocations: 0 / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.3726, allocations: 0.5384 MB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3726, allocations: 4 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.3726, allocations: 11.92 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3726, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3726, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3726, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3726, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.3731, allocations: 430.2 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3731, allocations: 15.84 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.3731, allocations: 27.98 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.3732, allocations: 3.938 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.3732, allocations: 0 / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3732, allocations: 8 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.3733, allocations: 87.39 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3733, allocations: 0 / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003344/0.3736, allocations: 59.81 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 ($whenCondition1,y,$outputAlias_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 (6): * Single equations (assignments): 4 * 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.001241/0.3749, allocations: 1.191 MB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004216/0.3753, allocations: 277 kB / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3753, allocations: 0 / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3754, allocations: 71.98 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.3756, allocations: 5.406 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.3784, allocations: 2.567 MB / 1.336 GB, free: 6.227 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.3785, allocations: 102 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.336e-05/0.3786, allocations: 17.08 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.3786, allocations: 39.42 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3786, allocations: 0 / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.4087, allocations: 3.858 MB / 1.34 GB, free: 2.344 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.06, allocations: 6.672 kB / 1.34 GB, free: 2.34 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_12_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.84417483303696]