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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001521/0.001521, allocations: 110 kB / 16.42 MB, free: 6.512 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.001695/0.001695, allocations: 187.9 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 469.4 MB / 0.7428 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 60.14 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7159, allocations: 159.1 MB / 1.221 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002122/0.7181, allocations: 1.22 MB / 1.222 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.719, allocations: 450.5 kB / 1.222 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.719, allocations: 0 / 1.222 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.719, allocations: 0 / 1.222 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-05/0.7191, allocations: 3.938 kB / 1.222 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.7196, allocations: 115.6 kB / 1.223 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.7197, allocations: 23.86 kB / 1.223 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.7197, allocations: 7.984 kB / 1.223 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.7197, allocations: 8 kB / 1.223 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.021e-05/0.7198, allocations: 15.92 kB / 1.223 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.7198, allocations: 0 / 1.223 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.72, allocations: 107.9 kB / 1.223 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.72, allocations: 0 / 1.223 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.7201, allocations: 19.91 kB / 1.223 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.7203, allocations: 99.75 kB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7203, allocations: 0 / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7203, allocations: 3.938 kB / 1.223 GB, free: 320 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.7203, allocations: 0 / 1.223 GB, free: 320 kB / 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.0004877/0.7208, allocations: 400.9 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.7208, allocations: 8.625 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.7209, allocations: 4.938 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.721, allocations: 168.3 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.721, allocations: 384 / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.721, allocations: 4.375 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.7211, allocations: 46.23 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.7212, allocations: 192 / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.7212, allocations: 3.938 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.7212, allocations: 0 / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.7212, allocations: 11.94 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.7214, allocations: 161.7 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.7215, allocations: 26.58 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.7215, allocations: 8.953 kB / 1.224 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.7215, allocations: 7.984 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.7217, allocations: 59.34 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.7217, allocations: 0 / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0002064/0.7219, allocations: 77.61 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.7219, allocations: 55.41 kB / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.722, allocations: 101.8 kB / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.722, allocations: 29.7 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.7221, allocations: 88.05 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.7221, allocations: 9.734 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.7222, allocations: 21.72 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.7223, allocations: 318.8 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.7223, allocations: 8 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.7224, allocations: 44.22 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.572e-05/0.7224, allocations: 56.23 kB / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7224, allocations: 0 / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/0.7226, allocations: 77.52 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.7226, allocations: 4 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.7226, allocations: 11.88 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.7226, allocations: 0 / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/0.7227, allocations: 11.94 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.7227, allocations: 4.125 kB / 1.225 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.7227, allocations: 4 kB / 1.225 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.7227, allocations: 4.5 kB / 1.225 GB, free: 14.25 MB / 0.9512 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 7.755e-05/0.7228, allocations: 122.5 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.7228, allocations: 0 / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.7229, allocations: 11.5 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7229, allocations: 3.938 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7229, allocations: 4 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.7229, allocations: 85.02 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.7229, allocations: 4.047 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.762e-05/0.723, allocations: 7.969 kB / 1.225 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.723, allocations: 7.938 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001466/0.7232, allocations: 137 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000173/0.7233, allocations: 238.8 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.643e-05/0.7234, allocations: 19.92 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.484e-05/0.7234, allocations: 83.28 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of Backend: time 2.31e-07/0.7234, allocations: 0 / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005435/0.724, allocations: 166.7 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0003443/0.7243, allocations: 0.5487 MB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of Templates: time 0.003269/0.7276, allocations: 1.137 MB / 1.227 GB, free: 11.6 MB / 0.9512 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