Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 109.5 kB / 16.42 MB, free: 6.504 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.001658/0.001658, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.285/1.285, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.454/2.454, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 60.12 kB / 1.054 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.694/0.6953, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00215/0.6975, allocations: 1.229 MB / 1.209 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008291/0.6984, allocations: 442.4 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.6984, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.6985, allocations: 3.938 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.582e-05/0.6985, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.6991, allocations: 119.6 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.6992, allocations: 19.98 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.6992, allocations: 3.938 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.453e-05/0.6992, allocations: 19.91 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.836e-05/0.6993, allocations: 7.938 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.6993, allocations: 4 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.6995, allocations: 103.9 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.6995, allocations: 3.984 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.6996, allocations: 11.94 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.6998, allocations: 103.7 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.6998, allocations: 4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6998, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6998, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 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.000454/0.7003, allocations: 389 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.7003, allocations: 8.031 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.7004, allocations: 4.938 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.7005, allocations: 168.3 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.7005, allocations: 4.375 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.7005, allocations: 4.375 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.7006, allocations: 46.23 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.7006, allocations: 192 / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.7007, allocations: 3.938 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7007, allocations: 0 / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.7007, allocations: 15.92 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.7009, allocations: 165.5 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.7009, allocations: 22.61 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.701, allocations: 20.86 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.701, allocations: 0 / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.7011, allocations: 55.48 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.7011, allocations: 0 / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002135/0.7013, allocations: 81.56 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.7014, allocations: 51.41 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.7015, allocations: 105.8 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.7015, allocations: 33.7 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.7016, allocations: 80.14 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.7016, allocations: 25.61 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.7016, allocations: 17.72 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.7017, allocations: 310.8 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.7018, allocations: 15.98 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.7018, allocations: 40.3 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.499e-05/0.7019, allocations: 52.72 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.7019, allocations: 7.938 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001113/0.702, allocations: 69.62 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.702, allocations: 8 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.702, allocations: 3.938 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.7021, allocations: 4 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.7021, allocations: 15.92 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.7022, allocations: 4 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.7022, allocations: 3.906 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.7022, allocations: 4 kB / 1.212 GB, free: 9.531 MB / 0.9356 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.083e-05/0.7023, allocations: 121.9 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.7023, allocations: 3.938 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.7023, allocations: 11.5 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7023, allocations: 7.984 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7024, allocations: 0 / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.7024, allocations: 77.11 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.7024, allocations: 0 / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.7024, allocations: 0 / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.7025, allocations: 4 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001454/0.7026, allocations: 148.9 kB / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001668/0.7028, allocations: 246.7 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.368e-05/0.7028, allocations: 8 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.377e-05/0.7029, allocations: 83.27 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of Backend: time 5.21e-07/0.7029, allocations: 0 / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005452/0.7034, allocations: 184.9 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0003539/0.7038, allocations: 0.5526 MB / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of Templates: time 0.003274/0.7071, allocations: 1.129 MB / 1.214 GB, free: 6.883 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y