Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001472/0.001472, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001651/0.001651, allocations: 188.6 kB / 22.22 MB, free: 5.102 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.557/1.557, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 443.4 MB / 0.7321 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 71.89 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 160.8 MB / 1.218 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002516/1.036, allocations: 1.231 MB / 1.22 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001003/1.037, allocations: 474.4 kB / 1.22 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/1.037, allocations: 0 / 1.22 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/1.037, allocations: 7.938 kB / 1.22 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.582e-05/1.037, allocations: 0 / 1.22 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/1.038, allocations: 127.5 kB / 1.22 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.706e-05/1.038, allocations: 15.98 kB / 1.22 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/1.038, allocations: 4 kB / 1.22 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.552e-05/1.038, allocations: 11.94 kB / 1.22 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/1.038, allocations: 11.92 kB / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/1.038, allocations: 0 / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/1.038, allocations: 147.7 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/1.039, allocations: 8 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/1.039, allocations: 15.86 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/1.039, allocations: 106.1 kB / 1.221 GB, free: 2.324 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.039, allocations: 0 / 1.221 GB, free: 2.324 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.412e-06/1.039, allocations: 0 / 1.221 GB, free: 2.324 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.761e-06/1.039, allocations: 0 / 1.221 GB, free: 2.324 MB / 0.92 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.0006056/1.039, allocations: 380.9 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.039, allocations: 12.03 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/1.039, allocations: 4.891 kB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/1.04, allocations: 172.3 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/1.04, allocations: 8.375 kB / 1.221 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/1.04, allocations: 4.375 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/1.04, allocations: 42.23 kB / 1.221 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.04, allocations: 192 / 1.221 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/1.04, allocations: 11.88 kB / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.04, allocations: 0 / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/1.04, allocations: 4 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/1.04, allocations: 157.7 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/1.04, allocations: 30.52 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/1.04, allocations: 12.86 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/1.04, allocations: 0 / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/1.04, allocations: 63.48 kB / 1.221 GB, free: 1.266 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/1.04, allocations: 0 / 1.221 GB, free: 1.266 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002538/1.041, allocations: 81.56 kB / 1.221 GB, free: 1.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/1.041, allocations: 63.34 kB / 1.222 GB, free: 1.105 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/1.041, allocations: 101.8 kB / 1.222 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/1.041, allocations: 29.7 kB / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/1.041, allocations: 84.12 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/1.041, allocations: 11.91 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/1.041, allocations: 21.72 kB / 1.222 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.041, allocations: 318.8 kB / 1.222 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/1.041, allocations: 8 kB / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.021e-05/1.041, allocations: 44.28 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.613e-05/1.041, allocations: 48.23 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.041, allocations: 4 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001138/1.041, allocations: 77.55 kB / 1.222 GB, free: 308 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.041, allocations: 11.94 kB / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.041, allocations: 0 / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.041, allocations: 0 / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/1.041, allocations: 8 kB / 1.222 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.041, allocations: 4 kB / 1.222 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/1.041, allocations: 11.89 kB / 1.222 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/1.041, allocations: 4 kB / 1.222 GB, free: 268 kB / 0.92 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 0.000105/1.042, allocations: 133.3 kB / 1.222 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/1.042, allocations: 3.984 kB / 1.222 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/1.042, allocations: 11.73 kB / 1.222 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.042, allocations: 4 kB / 1.222 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/1.042, allocations: 0 / 1.222 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.042, allocations: 0 / 1.222 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/1.042, allocations: 157.6 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.042, allocations: 0 / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/1.042, allocations: 7.984 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.042, allocations: 3.938 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/1.042, allocations: 4.5 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/1.042, allocations: 4 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/1.042, allocations: 0 / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/1.042, allocations: 97.02 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/1.042, allocations: 81.09 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/1.042, allocations: 3.938 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/1.042, allocations: 4 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/1.042, allocations: 4 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/1.042, allocations: 0 / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.85e-05/1.042, allocations: 87.27 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/1.042, allocations: 0 / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002553/1.042, allocations: 39.88 kB / 1.223 GB, free: 15.54 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: 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.0004053/1.043, allocations: 159.3 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001522/1.043, allocations: 35.92 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.043, allocations: 4 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/1.043, allocations: 8 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/1.043, allocations: 4 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/1.044, allocations: 128.7 kB / 1.223 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/1.044, allocations: 0.6807 MB / 1.224 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.277e-05/1.044, allocations: 4.25 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/1.044, allocations: 11.44 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/1.044, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of Templates: time 0.0042/1.048, allocations: 1.12 MB / 1.225 GB, free: 13.34 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.91698993369937]