Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.001965/0.001965, 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.002683/0.002683, allocations: 214.4 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.777 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.847/2.847, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] 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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") [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.002138/0.002138, allocations: 66.69 kB / 1.117 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 169.9 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002568/0.3729, allocations: 1.249 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3739, allocations: 440.4 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.3739, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.374, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.374, allocations: 3.984 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.3746, allocations: 115.6 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.352e-05/0.3747, allocations: 19.98 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.3748, allocations: 4 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.217e-05/0.3748, allocations: 4 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.3749, allocations: 7.922 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.3749, allocations: 4 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.3752, allocations: 143.7 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.3752, allocations: 4 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.3752, allocations: 7.938 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.3755, allocations: 103.7 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3755, allocations: 0 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3755, allocations: 0 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.3755, allocations: 7.938 kB / 1.285 GB, free: 9.867 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006171/0.3761, allocations: 307.8 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3762, allocations: 8.031 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.3762, allocations: 4.938 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3763, allocations: 106.5 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.3764, allocations: 4.359 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3764, allocations: 4.375 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3765, allocations: 34.25 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3765, allocations: 192 / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.3765, allocations: 3.938 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3766, allocations: 11.98 kB / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.3766, allocations: 4 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.3768, allocations: 105.3 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.3769, allocations: 30.55 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.377, allocations: 16.8 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.377, allocations: 4 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.3772, allocations: 55.45 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.3772, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002899/0.3775, allocations: 73.55 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.3776, allocations: 55.41 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3777, allocations: 105.8 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3777, allocations: 25.7 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.3778, allocations: 80.14 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.3778, allocations: 15.94 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.3779, allocations: 21.7 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002131/0.3781, allocations: 314.8 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.3781, allocations: 15.92 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.875e-05/0.3782, allocations: 27.44 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.739e-05/0.3783, allocations: 47.38 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3783, allocations: 0 / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001285/0.3784, allocations: 77.5 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3784, allocations: 4 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3784, allocations: 4 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.3785, allocations: 3.938 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.3786, allocations: 8 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3786, allocations: 4 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.3786, allocations: 12.03 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.3786, allocations: 4 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 0.0001372/0.3788, allocations: 113.8 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.3788, allocations: 0 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.3788, allocations: 11.62 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3788, allocations: 4 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3788, allocations: 0 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3788, allocations: 0 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.379, allocations: 109.6 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.379, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-06/0.379, allocations: 4 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.379, allocations: 4 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.379, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.379, allocations: 7.875 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.379, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.3792, allocations: 93.09 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-06/0.3792, allocations: 0 / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3792, allocations: 0 / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.788e-05/0.3792, allocations: 7.938 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.3793, allocations: 3.984 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3793, allocations: 0 / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.3793, allocations: 83.28 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3793, allocations: 0 / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003334/0.3797, allocations: 39.86 kB / 1.287 GB, free: 7.562 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 (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.000569/0.3802, allocations: 170.9 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.3804, allocations: 27.98 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3804, allocations: 192 / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/0.3805, allocations: 11.94 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.3806, allocations: 11.98 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.381, allocations: 101 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.3811, allocations: 63.34 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.3811, allocations: 0 / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.3811, allocations: 11.44 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3811, allocations: 0 / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of Templates: time 0.004959/0.3861, allocations: 1.102 MB / 1.288 GB, free: 6.039 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.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,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 9.427124109119177]