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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007266/0.007266, allocations: 103 kB / 15.74 MB, free: 6.039 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.0016/0.0016, allocations: 194.5 kB / 16.67 MB, free: 5.965 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.752/2.752, allocations: 472.6 MB / 0.7453 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.84 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3202, allocations: 159.9 MB / 1.226 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002157/0.3224, allocations: 1.224 MB / 1.227 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3235, allocations: 426.5 kB / 1.227 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.3235, allocations: 7.938 kB / 1.227 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.3236, allocations: 4 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/0.3236, allocations: 3.938 kB / 1.227 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006382/0.3243, allocations: 107.6 kB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.094e-05/0.3244, allocations: 15.94 kB / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.077e-05/0.3244, allocations: 7.984 kB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.3245, allocations: 11.92 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.46e-05/0.3245, allocations: 7.984 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3245, allocations: 7.938 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.3248, allocations: 95.91 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.3248, allocations: 7.984 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.3248, allocations: 11.94 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.3251, allocations: 91.73 kB / 1.228 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3251, allocations: 0 / 1.228 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3251, allocations: 4 kB / 1.228 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.3251, allocations: 0 / 1.228 GB, free: 7.195 MB / 0.9825 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.0006277/0.3257, allocations: 384.8 kB / 1.228 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.3258, allocations: 8.031 kB / 1.228 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.3259, allocations: 4.891 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.326, allocations: 168.4 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.326, allocations: 4.375 kB / 1.228 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3261, allocations: 4.375 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.3262, allocations: 34.25 kB / 1.228 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3262, allocations: 192 / 1.228 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3262, allocations: 3.938 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3262, allocations: 0 / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.3263, allocations: 15.92 kB / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.3265, allocations: 153.7 kB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.025e-05/0.3266, allocations: 34.59 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.3266, allocations: 12.86 kB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.3266, allocations: 4 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.3268, allocations: 55.48 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.3268, allocations: 0 / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002361/0.327, allocations: 69.56 kB / 1.228 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.3271, allocations: 55.41 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.3272, allocations: 105.8 kB / 1.229 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3272, allocations: 29.7 kB / 1.229 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.3272, allocations: 80.14 kB / 1.229 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.3273, allocations: 11.89 kB / 1.229 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.3273, allocations: 29.69 kB / 1.229 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3274, allocations: 310.8 kB / 1.229 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.3275, allocations: 15.98 kB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.561e-05/0.3275, allocations: 35.38 kB / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.269e-05/0.3276, allocations: 47.3 kB / 1.229 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3276, allocations: 0 / 1.229 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000107/0.3277, allocations: 73.56 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3277, allocations: 7.938 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3277, allocations: 4 kB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3278, allocations: 0 / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.427e-05/0.3278, allocations: 12 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3279, allocations: 0 / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.3279, allocations: 7.953 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3279, allocations: 4 kB / 1.229 GB, free: 5.188 MB / 0.9825 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 0.0001065/0.328, allocations: 118.5 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.328, allocations: 7.875 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.3281, allocations: 7.5 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3281, allocations: 0 / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3281, allocations: 4 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3281, allocations: 0 / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.3282, allocations: 149.7 kB / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3282, allocations: 0 / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.3282, allocations: 0 / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3283, allocations: 3.938 kB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3283, allocations: 11.98 kB / 1.23 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3283, allocations: 4 kB / 1.23 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3283, allocations: 432 / 1.23 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.3284, allocations: 81.11 kB / 1.23 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.543e-05/0.3285, allocations: 85.05 kB / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3285, allocations: 7.938 kB / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.3285, allocations: 0 / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.3285, allocations: 0 / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3286, allocations: 4 kB / 1.23 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.3286, allocations: 87.2 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3286, allocations: 0 / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002345/0.3289, allocations: 35.88 kB / 1.23 GB, free: 4.492 MB / 0.9825 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 (4): * Single equations (assignments): 2 * 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.0003582/0.3292, allocations: 162.2 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.3294, allocations: 35.98 kB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3294, allocations: 0 / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.068e-05/0.3294, allocations: 11.98 kB / 1.23 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.3296, allocations: 5.547 kB / 1.23 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.3298, allocations: 112.6 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.3301, allocations: 0.6807 MB / 1.231 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.3301, allocations: 256 / 1.231 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.3301, allocations: 11.44 kB / 1.231 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3301, allocations: 4.125 kB / 1.231 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of Templates: time 0.003264/0.3334, allocations: 1.051 MB / 1.232 GB, free: 2.375 MB / 0.9825 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/jenkins/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