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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.025/2.025, allocations: 387.4 MB / 394.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009032/0.0009033, allocations: 176.9 kB / 487.4 MB, free: 5.082 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.5 MB / 0.7824 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008499/0.0008499, allocations: 102.1 kB / 0.9219 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.493e-05/1.496e-05, allocations: 2.109 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2067, allocations: 142.4 MB / 1.206 GB, free: 44.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7536/0.9603, allocations: 148.9 MB / 1.351 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.9606, allocations: 69.97 kB / 1.351 GB, free: 18.37 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.006574/0.9672, allocations: 2.312 MB / 1.354 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.22e-07/0.9672, allocations: 0 / 1.354 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.9672, allocations: 0 / 1.354 GB, free: 33.97 MB / 0.8386 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.000302/0.9675, allocations: 390 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.9675, allocations: 8.188 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.9676, allocations: 5.094 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.64e-05/0.9677, allocations: 168.3 kB / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.9677, allocations: 0 / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.9677, allocations: 4.516 kB / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.038e-05/0.9678, allocations: 7.125 kB / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.838e-05/0.9678, allocations: 38.62 kB / 1.354 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.9679, allocations: 7.875 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.9679, allocations: 3.875 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.9679, allocations: 4 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.968, allocations: 139 kB / 1.354 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.69e-05/0.9681, allocations: 26.42 kB / 1.354 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.9681, allocations: 16.83 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.9681, allocations: 0.7031 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.45e-05/0.9682, allocations: 56.7 kB / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.9682, allocations: 0 / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001482/0.9684, allocations: 63.55 kB / 1.355 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.9684, allocations: 52.02 kB / 1.355 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.209e-05/0.9685, allocations: 102.2 kB / 1.355 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.9685, allocations: 25.7 kB / 1.355 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.9685, allocations: 83.94 kB / 1.355 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.9686, allocations: 13 kB / 1.355 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.9686, allocations: 4 kB / 1.355 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.9687, allocations: 316.5 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.9687, allocations: 3.844 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.9687, allocations: 36.48 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.9688, allocations: 20.95 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9688, allocations: 0 / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.054e-05/0.9689, allocations: 68.61 kB / 1.355 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.9689, allocations: 4.453 kB / 1.355 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9689, allocations: 3.969 kB / 1.355 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9689, allocations: 0 / 1.355 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.969, allocations: 14.38 kB / 1.355 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.969, allocations: 4.406 kB / 1.355 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.969, allocations: 0 / 1.355 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.969, allocations: 7.906 kB / 1.355 GB, free: 32.35 MB / 0.8386 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 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/0.9691, allocations: 109.4 kB / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.9691, allocations: 4.406 kB / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.9691, allocations: 8.188 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.9691, allocations: 0.5156 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.9691, allocations: 0 / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.9692, allocations: 0.5625 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.528e-05/0.9692, allocations: 138.1 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.9692, allocations: 0 / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.764e-05/0.9693, allocations: 5.422 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.9693, allocations: 8.359 kB / 1.356 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.9693, allocations: 4.547 kB / 1.356 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.9693, allocations: 0 / 1.356 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9693, allocations: 0.5625 kB / 1.356 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.66e-05/0.9694, allocations: 92.52 kB / 1.356 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.9694, allocations: 81.14 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.9694, allocations: 4.609 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.9695, allocations: 8.5 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.9695, allocations: 5.188 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.9695, allocations: 0.6094 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.268e-05/0.9695, allocations: 83.38 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9695, allocations: 0 / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002785/0.9698, allocations: 45.83 kB / 1.356 GB, free: 31.8 MB / 0.8386 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 () * 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 (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.0003096/0.9701, allocations: 185.6 kB / 1.356 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.88e-05/0.9702, allocations: 28.06 kB / 1.356 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.9702, allocations: 0 / 1.356 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.9703, allocations: 12.05 kB / 1.356 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.832e-05/0.9704, allocations: 5.875 kB / 1.356 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001696/0.9705, allocations: 78.56 kB / 1.356 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.9708, allocations: 0.6859 MB / 1.357 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.9708, allocations: 1.266 kB / 1.357 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/0.9708, allocations: 15.34 kB / 1.357 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.9708, allocations: 0 / 1.357 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.003138/0.974, allocations: 1.224 MB / 1.358 GB, free: 30.75 MB / 0.8386 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","../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