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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.00127/0.00127, allocations: 119 kB / 16.42 MB, free: 6.473 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.001223/0.001223, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.449/2.449, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7016/0.7029, allocations: 151.6 MB / 1.167 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002219/0.7052, allocations: 1.229 MB / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008322/0.706, allocations: 452.9 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.706, allocations: 3.938 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.7061, allocations: 0 / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.7061, allocations: 3.938 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.7066, allocations: 119.6 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.7067, allocations: 23.92 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.7067, allocations: 0 / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.7068, allocations: 7.938 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.234e-05/0.7068, allocations: 19.92 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.7068, allocations: 4 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.707, allocations: 103.9 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.7071, allocations: 4 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.7071, allocations: 11.92 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.7073, allocations: 103.7 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7073, allocations: 0 / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7073, allocations: 4 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.7073, allocations: 0 / 1.169 GB, free: 1.832 MB / 0.8887 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.0004775/0.7078, allocations: 385 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7078, allocations: 8.922 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.7079, allocations: 4.938 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.708, allocations: 160.4 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.708, allocations: 4.375 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.708, allocations: 4.375 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.7081, allocations: 42.23 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.7082, allocations: 192 / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.7082, allocations: 7.875 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.7082, allocations: 0 / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.703e-05/0.7082, allocations: 15.94 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.7084, allocations: 165.6 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.241e-05/0.7085, allocations: 22.58 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.7085, allocations: 12.95 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.7085, allocations: 3.984 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.7086, allocations: 59.41 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 3.116e-06/0.7086, allocations: 0 / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002015/0.7089, allocations: 77.55 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.7089, allocations: 59.41 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.289e-05/0.709, allocations: 101.8 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.709, allocations: 29.7 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.709, allocations: 80.14 kB / 1.17 GB, free: 416 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.7091, allocations: 17.58 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.7091, allocations: 25.72 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.7092, allocations: 318.8 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.7093, allocations: 8 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.964e-05/0.7093, allocations: 44.27 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.285e-05/0.7094, allocations: 56.17 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7094, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001125/0.7095, allocations: 77.59 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7096, allocations: 8 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7096, allocations: 3.938 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.7096, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.7097, allocations: 16.56 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.7097, allocations: 4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.7097, allocations: 7.906 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.7097, allocations: 4 kB / 1.171 GB, free: 15.78 MB / 0.9044 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.239e-05/0.7098, allocations: 121.8 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.7098, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.7099, allocations: 11.5 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7099, allocations: 0 / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7099, allocations: 4 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.7099, allocations: 81.11 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.7099, allocations: 3.938 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.626e-05/0.71, allocations: 3.984 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.71, allocations: 4 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001497/0.7102, allocations: 140.9 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001815/0.7103, allocations: 242.7 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.592e-05/0.7104, allocations: 15.98 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.7104, allocations: 83.28 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of Backend: time 1.823e-06/0.7104, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.711, allocations: 170.2 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003829/0.7114, allocations: 0.549 MB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.003575/0.715, allocations: 1.129 MB / 1.174 GB, free: 13.14 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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