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.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.001294/0.001294, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00154/0.00154, allocations: 219 kB / 23.01 MB, free: 4.609 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.726/2.726, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002043/0.002043, allocations: 66.67 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3209, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002345/0.3232, allocations: 1.261 MB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009394/0.3241, allocations: 480.2 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.3242, allocations: 0 / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.3242, allocations: 3.938 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.3242, allocations: 3.984 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.3248, allocations: 115.6 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.3249, allocations: 23.92 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.3249, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.3249, allocations: 23.91 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.022e-05/0.325, allocations: 7.984 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.325, allocations: 4 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.3253, allocations: 143.8 kB / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.3253, allocations: 7.938 kB / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.3253, allocations: 19.91 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.3255, allocations: 111.6 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3255, allocations: 0 / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3255, allocations: 0 / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5e-06/0.3255, allocations: 0 / 1.287 GB, free: 9.078 MB / 0.9825 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.0004921/0.326, allocations: 315.7 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3261, allocations: 12.03 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.3261, allocations: 0.9375 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3262, allocations: 110.5 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.3262, allocations: 4.375 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3262, allocations: 4.375 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.3264, allocations: 38.23 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3264, allocations: 192 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3264, allocations: 11.94 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3264, allocations: 0 / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.3264, allocations: 15.88 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.3266, allocations: 124.8 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.015e-05/0.3267, allocations: 26.61 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.3267, allocations: 12.86 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.3267, allocations: 0 / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.3269, allocations: 67.48 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3269, allocations: 3.938 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002144/0.3271, allocations: 85.5 kB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3271, allocations: 55.41 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.3272, allocations: 101.9 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3272, allocations: 25.7 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.3273, allocations: 84.12 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3273, allocations: 11.95 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.3273, allocations: 21.72 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3275, allocations: 314.8 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.3275, allocations: 12 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.553e-05/0.3275, allocations: 40.28 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.826e-05/0.3276, allocations: 64.16 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3276, allocations: 0 / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000114/0.3277, allocations: 73.56 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3277, allocations: 11.94 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3278, allocations: 0 / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3278, allocations: 0 / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.3278, allocations: 16.06 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3278, allocations: 4 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.3279, allocations: 7.938 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3279, allocations: 4 kB / 1.288 GB, free: 7.207 MB / 0.9825 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 8.013e-05/0.328, allocations: 109.8 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.328, allocations: 11.88 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.328, allocations: 11.75 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.328, allocations: 0 / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.328, allocations: 0 / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.328, allocations: 4 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.3281, allocations: 128.7 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3281, allocations: 0 / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/0.3281, allocations: 4.5 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3281, allocations: 7.875 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3282, allocations: 7.984 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3282, allocations: 4 kB / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3282, allocations: 0 / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.3283, allocations: 89.12 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.3283, allocations: 11.89 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3283, allocations: 11.86 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.913e-05/0.3284, allocations: 0 / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.3284, allocations: 0 / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.3284, allocations: 4 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.3284, allocations: 87.27 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3284, allocations: 0 / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002491/0.3287, allocations: 35.88 kB / 1.289 GB, free: 6.621 MB / 0.9825 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.0003761/0.3291, allocations: 165.1 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.3292, allocations: 31.94 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3292, allocations: 0 / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.444e-05/0.3292, allocations: 15.92 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.3294, allocations: 10.95 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.3296, allocations: 138.9 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.3299, allocations: 0.6768 MB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.33, allocations: 11.42 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.33, allocations: 0 / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of Templates: time 0.003238/0.3332, allocations: 1.327 MB / 1.291 GB, free: 4.195 MB / 0.9825 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/jenkins1/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.439024946972495]