Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.792/2.792, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 71.88 kB / 1.107 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287/1.289, allocations: 168.7 MB / 1.272 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002432/1.291, allocations: 1.238 MB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001055/1.292, allocations: 459.9 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/1.292, allocations: 4 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/1.292, allocations: 1.578 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/1.292, allocations: 3.938 kB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/1.293, allocations: 105.7 kB / 1.274 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.479e-05/1.293, allocations: 25.72 kB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/1.293, allocations: 4.703 kB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/1.293, allocations: 8.75 kB / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/1.293, allocations: 17.31 kB / 1.274 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/1.293, allocations: 1.469 kB / 1.274 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/1.294, allocations: 117.2 kB / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/1.294, allocations: 13.16 kB / 1.274 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/1.294, allocations: 10.88 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/1.294, allocations: 98.41 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/1.294, allocations: 1.062 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/1.294, allocations: 0 / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.294, allocations: 0 / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005219/1.294, allocations: 388.4 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.294, allocations: 10.59 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/1.294, allocations: 2.688 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/1.295, allocations: 171.5 kB / 1.275 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/1.295, allocations: 2.781 kB / 1.275 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/1.295, allocations: 2.438 kB / 1.275 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/1.295, allocations: 49.92 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.295, allocations: 1 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.295, allocations: 5.297 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.295, allocations: 0.875 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/1.295, allocations: 5.812 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/1.295, allocations: 167.6 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.104e-05/1.295, allocations: 21.45 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/1.295, allocations: 17.75 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/1.295, allocations: 0.875 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/1.295, allocations: 62.38 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.854e-06/1.295, allocations: 3.984 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0002427/1.295, allocations: 81.23 kB / 1.275 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/1.296, allocations: 53.34 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/1.296, allocations: 102.3 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/1.296, allocations: 26.83 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/1.296, allocations: 85.17 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/1.296, allocations: 11.94 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/1.296, allocations: 21.58 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/1.296, allocations: 322.8 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/1.296, allocations: 10.03 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/1.296, allocations: 38.17 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.887e-05/1.296, allocations: 56.27 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.296, allocations: 0.7812 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001065/1.296, allocations: 81.97 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.296, allocations: 9.281 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.296, allocations: 1.688 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/1.296, allocations: 2.344 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/1.296, allocations: 13.52 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/1.296, allocations: 1.969 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/1.296, allocations: 10.22 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/1.296, allocations: 3 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * 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 5.899e-05/1.296, allocations: 119.6 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/1.296, allocations: 5.812 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/1.296, allocations: 4.625 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.296, allocations: 0.9688 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/1.296, allocations: 3.938 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.296, allocations: 0 / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.458e-05/1.296, allocations: 160 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.296, allocations: 4.969 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/1.296, allocations: 6.344 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.296, allocations: 3.938 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/1.296, allocations: 1.531 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.296, allocations: 4.953 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.296, allocations: 0 / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/1.297, allocations: 96.23 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/1.297, allocations: 78.45 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/1.297, allocations: 6.469 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/1.297, allocations: 4.562 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/1.297, allocations: 11.72 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/1.297, allocations: 1.5 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.443e-05/1.297, allocations: 79.94 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.297, allocations: 0.5625 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002919/1.297, allocations: 39.33 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * 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.0003733/1.297, allocations: 164.6 kB / 1.277 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001327/1.297, allocations: 34.66 kB / 1.277 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.297, allocations: 0 / 1.277 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/1.297, allocations: 14.59 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/1.298, allocations: 3.531 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/1.298, allocations: 135.6 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/1.298, allocations: 0.6828 MB / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.447e-05/1.298, allocations: 5.422 kB / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/1.298, allocations: 9.406 kB / 1.277 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.298, allocations: 4.562 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.004291/1.302, allocations: 1.102 MB / 1.278 GB, free: 3.047 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 9.504762314260006]