Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.007238/0.007237, allocations: 108.3 kB / 15.74 MB, free: 6.449 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.001645/0.001645, allocations: 196 kB / 16.67 MB, free: 6.355 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.465/1.465, allocations: 222.9 MB / 240.3 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.587/2.587, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 66.92 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3324, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002812/0.3353, allocations: 1.235 MB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009241/0.3362, allocations: 456.3 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.3363, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.3363, allocations: 3.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.3364, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.337, allocations: 107.6 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.309e-05/0.3371, allocations: 23.91 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.3371, allocations: 7.984 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.3371, allocations: 8 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.148e-05/0.3372, allocations: 15.92 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3372, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.3374, allocations: 111.8 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.3374, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.3375, allocations: 15.92 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.3377, allocations: 99.8 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3377, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3377, allocations: 3.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.3377, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 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.000496/0.3382, allocations: 397 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3383, allocations: 8.031 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.3383, allocations: 8.875 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.3384, allocations: 164.4 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.3384, allocations: 384 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.3385, allocations: 4.375 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.3386, allocations: 46.23 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3386, allocations: 192 / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3386, allocations: 3.938 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3386, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.3387, allocations: 8 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.3388, allocations: 161.7 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.77e-05/0.3389, allocations: 26.52 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.339, allocations: 12.86 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.339, allocations: 4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.3392, allocations: 63.39 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/0.3392, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002617/0.3394, allocations: 81.55 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.3395, allocations: 55.41 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.3396, allocations: 97.86 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3396, allocations: 29.69 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.3397, allocations: 88.14 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.3397, allocations: 11.75 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.3398, allocations: 29.72 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3399, allocations: 314.8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.3399, allocations: 8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.34, allocations: 36.28 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.537e-05/0.34, allocations: 60.23 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3401, allocations: 3.938 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001108/0.3402, allocations: 77.55 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3402, allocations: 7.938 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3402, allocations: 4.5 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3402, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.3403, allocations: 8.125 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3403, allocations: 7.938 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.3404, allocations: 8 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3404, allocations: 4 kB / 1.092 GB, free: 13.37 MB / 0.8575 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 9.429e-05/0.3405, allocations: 113.8 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.3405, allocations: 11.84 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.3405, allocations: 3.562 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3405, allocations: 7.969 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3405, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3405, allocations: 8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.3407, allocations: 153.7 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3407, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.3407, allocations: 7.984 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3407, allocations: 3.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3407, allocations: 4 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3407, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3408, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.3409, allocations: 89.06 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.341, allocations: 92.94 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.341, allocations: 3.938 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.667e-05/0.341, allocations: 4 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.341, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.3411, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.3411, allocations: 83.27 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3411, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002608/0.3414, allocations: 32 kB / 1.092 GB, free: 12.66 MB / 0.8575 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.0003636/0.3417, allocations: 177.4 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.3419, allocations: 27.94 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3419, allocations: 0 / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/0.3419, allocations: 27.84 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.3421, allocations: 4 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.3424, allocations: 117.3 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3426, allocations: 0.6807 MB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.475e-05/0.3427, allocations: 3.984 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.3427, allocations: 11.44 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3427, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of Templates: time 0.003726/0.3464, allocations: 1.089 MB / 1.094 GB, free: 10.48 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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