Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 192.4 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 87.69 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002926, allocations: 12.78 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1926, allocations: 106.3 MB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.3558, allocations: 132 MB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.356, allocations: 71.94 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.006159/0.3622, allocations: 2.256 MB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.258e-06/0.3622, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3623, allocations: 3.938 kB / 1.031 GB, free: 9.996 MB / 0.6823 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.0003595/0.3626, allocations: 388.9 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3627, allocations: 8.031 kB / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.3627, allocations: 4 kB / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3628, allocations: 167 kB / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.3628, allocations: 0 / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.3629, allocations: 4 kB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.517e-05/0.363, allocations: 45.67 kB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.363, allocations: 0 / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.363, allocations: 3.938 kB / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.363, allocations: 0 / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.363, allocations: 8 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.3632, allocations: 161.5 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.089e-05/0.3633, allocations: 35.36 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.3633, allocations: 4 kB / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.3634, allocations: 55.5 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3634, allocations: 0 / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0001856/0.3636, allocations: 65.61 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.3637, allocations: 55.41 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.3637, allocations: 92.98 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3638, allocations: 33.64 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.3638, allocations: 84.14 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3638, allocations: 11.84 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.3638, allocations: 4 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3639, allocations: 318.8 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.364, allocations: 8 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.364, allocations: 27.44 kB / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.364, allocations: 20.36 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.364, allocations: 0 / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.26e-05/0.3641, allocations: 73.45 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3642, allocations: 8 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3642, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3642, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.3642, allocations: 8 kB / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3643, allocations: 3.984 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.3643, allocations: 12.09 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3643, allocations: 0 / 1.033 GB, free: 8.09 MB / 0.6823 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.3644, allocations: 117.7 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.3644, allocations: 4 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.3644, allocations: 7.5 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3644, allocations: 0 / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3644, allocations: 0 / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.3645, allocations: 0 / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.3646, allocations: 153.6 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3646, allocations: 4 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.3646, allocations: 7.984 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3646, allocations: 0 / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.3646, allocations: 0 / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3646, allocations: 0 / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3646, allocations: 0 / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.3648, allocations: 93.02 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.3648, allocations: 85 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.3648, allocations: 3.938 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.3649, allocations: 4 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.3649, allocations: 4 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.3649, allocations: 3.938 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.3649, allocations: 83.27 kB / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3649, allocations: 0 / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002341/0.3652, allocations: 43.94 kB / 1.033 GB, free: 7.387 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003285/0.3655, allocations: 180.3 kB / 1.034 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.3656, allocations: 27.92 kB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3656, allocations: 0 / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/0.3657, allocations: 8 kB / 1.034 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.607e-05/0.3658, allocations: 4 kB / 1.034 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.366, allocations: 128.7 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.3663, allocations: 0.6887 MB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.846e-05/0.3663, allocations: 0 / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.3663, allocations: 11.44 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3663, allocations: 0 / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of Templates: time 0.003121/0.3694, allocations: 1.192 MB / 1.036 GB, free: 5.105 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","../files/Buildings_maint.7.0.x_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