Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.351/2.351, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001318/0.001318, allocations: 168.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.3 MB / 0.7915 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 83.98 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.401e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2994, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.349, allocations: 150.4 MB / 1.366 GB, free: 3.703 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00041/1.35, allocations: 83.47 kB / 1.366 GB, free: 3.656 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.009894/1.36, allocations: 2.32 MB / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.723e-06/1.36, allocations: 0 / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.36, allocations: 0 / 1.368 GB, free: 1.656 MB / 0.823 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.0004745/1.36, allocations: 380 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.36, allocations: 8.031 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/1.36, allocations: 12.48 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/1.361, allocations: 163 kB / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/1.361, allocations: 8 kB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/1.361, allocations: 3.125 kB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/1.361, allocations: 41.67 kB / 1.369 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/1.361, allocations: 0 / 1.369 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/1.361, allocations: 3.25 kB / 1.369 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/1.361, allocations: 0 / 1.369 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.636e-05/1.361, allocations: 11.94 kB / 1.369 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/1.361, allocations: 157.4 kB / 1.369 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.672e-05/1.361, allocations: 29.8 kB / 1.369 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/1.361, allocations: 16.48 kB / 1.369 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/1.361, allocations: 0 / 1.369 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/1.361, allocations: 58.19 kB / 1.369 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 3.396e-06/1.361, allocations: 0 / 1.369 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0002177/1.362, allocations: 65.44 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/1.362, allocations: 59.39 kB / 1.369 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/1.362, allocations: 99.94 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/1.362, allocations: 25.7 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/1.362, allocations: 88.03 kB / 1.369 GB, free: 296 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/1.362, allocations: 15.78 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/1.362, allocations: 0 / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.362, allocations: 326.3 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/1.362, allocations: 4 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/1.362, allocations: 45.98 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.573e-05/1.362, allocations: 15.92 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.362, allocations: 0 / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001729/1.363, allocations: 70.19 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.363, allocations: 12.03 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.363, allocations: 0 / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.363, allocations: 4 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/1.363, allocations: 11.92 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.363, allocations: 4 kB / 1.37 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/1.363, allocations: 0 / 1.37 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/1.363, allocations: 6.625 kB / 1.37 GB, free: 15.78 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 9.182e-05/1.363, allocations: 110.2 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/1.363, allocations: 6.5 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/1.363, allocations: 11.59 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.363, allocations: 4 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.363, allocations: 0 / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.363, allocations: 0 / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/1.363, allocations: 163.3 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/1.363, allocations: 0 / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/1.363, allocations: 7.938 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.363, allocations: 0 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/1.363, allocations: 0 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.363, allocations: 4 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.363, allocations: 4 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/1.363, allocations: 96.41 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/1.364, allocations: 77.11 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/1.364, allocations: 4 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/1.364, allocations: 4 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/1.364, allocations: 3.984 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/1.364, allocations: 4 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.228e-05/1.364, allocations: 83.16 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.31e-07/1.364, allocations: 4 kB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004158/1.364, allocations: 50.42 kB / 1.37 GB, free: 15.09 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.0004355/1.365, allocations: 172.4 kB / 1.37 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001288/1.365, allocations: 31.06 kB / 1.37 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.365, allocations: 4.25 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.833e-05/1.365, allocations: 15.38 kB / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/1.365, allocations: 7.938 kB / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/1.365, allocations: 79.8 kB / 1.37 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/1.366, allocations: 0.6809 MB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.471e-05/1.366, allocations: 7.906 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/1.366, allocations: 7.438 kB / 1.371 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/1.366, allocations: 8 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.005175/1.371, allocations: 1.237 MB / 1.372 GB, free: 12.83 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","../files/Buildings_latest_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