Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 104.6 kB / 16.39 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 192.2 kB / 17.32 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.383/2.383, allocations: 442.7 MB / 0.7167 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 1.027 GB, free: 1.516 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6591/0.6603, allocations: 153 MB / 1.177 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002018/0.6624, allocations: 1.221 MB / 1.178 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007692/0.6631, allocations: 434.6 kB / 1.178 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.6632, allocations: 0 / 1.178 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.6632, allocations: 0 / 1.178 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.6633, allocations: 3.938 kB / 1.178 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.6637, allocations: 103.6 kB / 1.178 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.484e-05/0.6638, allocations: 27.84 kB / 1.178 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.442e-05/0.6638, allocations: 4 kB / 1.178 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.6639, allocations: 4 kB / 1.178 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.91e-05/0.6639, allocations: 15.92 kB / 1.178 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.6639, allocations: 4 kB / 1.178 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.6641, allocations: 99.91 kB / 1.179 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.6641, allocations: 7.984 kB / 1.179 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.6642, allocations: 11.92 kB / 1.179 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.6643, allocations: 87.81 kB / 1.179 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.6644, allocations: 7.938 kB / 1.179 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6644, allocations: 0 / 1.179 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.6644, allocations: 0 / 1.179 GB, free: 8.945 MB / 0.9044 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.0004341/0.6648, allocations: 379 kB / 1.179 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.6649, allocations: 15.97 kB / 1.179 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.6649, allocations: 4.938 kB / 1.179 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.487e-05/0.665, allocations: 168.4 kB / 1.179 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.665, allocations: 384 / 1.179 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.665, allocations: 4.375 kB / 1.179 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.462e-05/0.6651, allocations: 38.23 kB / 1.179 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.6651, allocations: 192 / 1.179 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.6652, allocations: 3.938 kB / 1.179 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.6652, allocations: 0 / 1.179 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.6652, allocations: 11.94 kB / 1.179 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.6653, allocations: 157.7 kB / 1.179 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.492e-05/0.6654, allocations: 30.61 kB / 1.179 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.6655, allocations: 8.859 kB / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.6655, allocations: 0 / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.6656, allocations: 63.42 kB / 1.18 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.6656, allocations: 4 kB / 1.18 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0001877/0.6658, allocations: 69.53 kB / 1.18 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.6658, allocations: 55.39 kB / 1.18 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.6659, allocations: 101.8 kB / 1.18 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.6659, allocations: 25.7 kB / 1.18 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.666, allocations: 84.14 kB / 1.18 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.666, allocations: 11.89 kB / 1.18 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.666, allocations: 21.72 kB / 1.18 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.6661, allocations: 318.8 kB / 1.18 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.6662, allocations: 11.98 kB / 1.18 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.408e-05/0.6662, allocations: 35.75 kB / 1.18 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.748e-05/0.6663, allocations: 47.41 kB / 1.18 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6663, allocations: 0 / 1.18 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.48e-05/0.6664, allocations: 69.56 kB / 1.18 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.6664, allocations: 4 kB / 1.18 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.6664, allocations: 7.938 kB / 1.18 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.6664, allocations: 0 / 1.18 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.6665, allocations: 8 kB / 1.18 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6665, allocations: 3.984 kB / 1.18 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.6665, allocations: 7.906 kB / 1.18 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.6666, allocations: 12.09 kB / 1.18 GB, free: 6.941 MB / 0.9044 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 6.676e-05/0.6666, allocations: 113.8 kB / 1.181 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.6666, allocations: 0 / 1.181 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.6667, allocations: 11.44 kB / 1.181 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6667, allocations: 0 / 1.181 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.6667, allocations: 0 / 1.181 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.6667, allocations: 81.11 kB / 1.181 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.6667, allocations: 7.922 kB / 1.181 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.6668, allocations: 0 / 1.181 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.6668, allocations: 4 kB / 1.181 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001235/0.6669, allocations: 137 kB / 1.181 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001568/0.6671, allocations: 234.6 kB / 1.181 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.204e-05/0.6671, allocations: 15.98 kB / 1.181 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.6672, allocations: 79.28 kB / 1.181 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of Backend: time 5.61e-07/0.6672, allocations: 0 / 1.181 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005183/0.6677, allocations: 163.8 kB / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003363/0.6681, allocations: 0.5488 MB / 1.182 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of Templates: time 0.003037/0.6711, allocations: 1.066 MB / 1.183 GB, free: 4.402 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y