Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.006315/0.006315, allocations: 96.5 kB / 15.73 MB, free: 6.055 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.00133/0.00133, allocations: 201.5 kB / 16.68 MB, free: 5.977 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 71.88 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3506, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002491/0.3531, allocations: 1.223 MB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.3541, allocations: 424.5 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.3541, allocations: 4 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.3542, allocations: 3.938 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.3542, allocations: 7.984 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.3548, allocations: 103.6 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.278e-05/0.3549, allocations: 19.92 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.3549, allocations: 4 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.844e-05/0.355, allocations: 7.938 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.355, allocations: 7.984 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.355, allocations: 4 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.3553, allocations: 107.8 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.3553, allocations: 11.94 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.3553, allocations: 0 / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.3556, allocations: 95.73 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3556, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3556, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3556, allocations: 0 / 1.223 GB, free: 11.82 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.0005572/0.3561, allocations: 388.8 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3562, allocations: 12.03 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.3562, allocations: 8.891 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3563, allocations: 164.4 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3564, allocations: 4.312 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3564, allocations: 4.359 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3565, allocations: 46.17 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3565, allocations: 192 / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3565, allocations: 7.938 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3565, allocations: 0 / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.518e-05/0.3566, allocations: 4 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.3567, allocations: 157.7 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.118e-05/0.3568, allocations: 30.61 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.3569, allocations: 8.859 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.3569, allocations: 0 / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.357, allocations: 59.42 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.357, allocations: 0 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002116/0.3572, allocations: 73.61 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3573, allocations: 51.41 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.3573, allocations: 105.8 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3574, allocations: 25.7 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.3574, allocations: 84.12 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.3574, allocations: 15.89 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.3575, allocations: 17.72 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3576, allocations: 318.8 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.3576, allocations: 12 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.3577, allocations: 35.42 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.911e-05/0.3577, allocations: 47.36 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3577, allocations: 0 / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.847e-05/0.3578, allocations: 65.62 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3579, allocations: 15.88 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3579, allocations: 432 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3579, allocations: 0 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.3579, allocations: 11.98 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.358, allocations: 3.938 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.358, allocations: 11.95 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.358, allocations: 0 / 1.224 GB, free: 9.812 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 8.72e-05/0.3581, allocations: 114.5 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.3581, allocations: 3.938 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.3581, allocations: 15.48 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3581, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3581, allocations: 4 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3581, allocations: 3.984 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3583, allocations: 153.7 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3583, allocations: 0 / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.3583, allocations: 8 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3583, allocations: 7.875 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3583, allocations: 4 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3583, allocations: 0 / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3583, allocations: 0 / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.3584, allocations: 89.05 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.3585, allocations: 81.06 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.3585, allocations: 3.938 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.3585, allocations: 0 / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.3586, allocations: 7.984 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3586, allocations: 4 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.793e-05/0.3586, allocations: 83.28 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3586, allocations: 0 / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002686/0.3589, allocations: 35.86 kB / 1.225 GB, free: 9.109 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.0003615/0.3592, allocations: 159.8 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.3593, allocations: 36.09 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3593, allocations: 0 / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.3594, allocations: 8 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.3595, allocations: 4 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.3598, allocations: 116.8 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.3601, allocations: 0.6729 MB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.3601, allocations: 4.234 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.3601, allocations: 19.56 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3601, allocations: 3.938 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of Templates: time 0.003748/0.3639, allocations: 1.047 MB / 1.227 GB, free: 6.996 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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