Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001389/0.001389, allocations: 176.9 kB / 492.3 MB, free: 0.5898 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.686/1.686, allocations: 221.3 MB / 0.7872 GB, free: 12.85 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.00114/0.00114, allocations: 93.36 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.012e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.343, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.262/1.605, allocations: 149.5 MB / 1.358 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/1.606, allocations: 75.34 kB / 1.359 GB, free: 18.98 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.007619/1.613, allocations: 2.262 MB / 1.361 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.066e-06/1.613, allocations: 0 / 1.361 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.613, allocations: 3.906 kB / 1.361 GB, free: 34.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004397/1.614, allocations: 376.9 kB / 1.361 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/1.614, allocations: 7.719 kB / 1.361 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.288e-05/1.614, allocations: 35.41 kB / 1.361 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/1.614, allocations: 7.719 kB / 1.361 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/1.614, allocations: 168.5 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/1.614, allocations: 3.875 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/1.614, allocations: 4.844 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/1.614, allocations: 41.72 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.614, allocations: 0 / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/1.614, allocations: 0 / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/1.614, allocations: 0 / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.327e-05/1.614, allocations: 11.59 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/1.615, allocations: 253.3 kB / 1.362 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/1.615, allocations: 39.11 kB / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/1.615, allocations: 14 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/1.615, allocations: 0 / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/1.615, allocations: 58.7 kB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/1.615, allocations: 7.938 kB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001912/1.615, allocations: 63.94 kB / 1.362 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/1.615, allocations: 59.23 kB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/1.615, allocations: 101.8 kB / 1.362 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/1.615, allocations: 25.7 kB / 1.362 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/1.615, allocations: 80.14 kB / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/1.615, allocations: 12.28 kB / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/1.615, allocations: 0 / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.615, allocations: 324.1 kB / 1.362 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/1.615, allocations: 7.641 kB / 1.362 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/1.615, allocations: 31.66 kB / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/1.616, allocations: 18.62 kB / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/1.616, allocations: 0 / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.214e-05/1.616, allocations: 77.53 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.616, allocations: 7.812 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.616, allocations: 3.875 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.616, allocations: 1.5 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/1.616, allocations: 7.688 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.616, allocations: 0.8906 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/1.616, allocations: 7.797 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/1.616, allocations: 3.312 kB / 1.363 GB, free: 32.83 MB / 0.8386 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.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * 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 7.537e-05/1.616, allocations: 105.9 kB / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/1.616, allocations: 3.906 kB / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/1.616, allocations: 13.16 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.616, allocations: 0 / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.616, allocations: 0 / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/1.616, allocations: 0 / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/1.616, allocations: 304 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.616, allocations: 0 / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/1.616, allocations: 3.812 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.616, allocations: 0 / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.616, allocations: 6.125 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.616, allocations: 11.97 kB / 1.363 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.616, allocations: 0 / 1.363 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/1.616, allocations: 162.4 kB / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/1.617, allocations: 81.05 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/1.617, allocations: 9.281 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/1.617, allocations: 0 / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/1.617, allocations: 5.438 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/1.617, allocations: 3.844 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.164e-05/1.617, allocations: 84.97 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.617, allocations: 3.969 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003043/1.617, allocations: 39.98 kB / 1.363 GB, free: 32.07 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,$outputAlias_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.0008694/1.618, allocations: 0.7795 MB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001224/1.618, allocations: 31.33 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.618, allocations: 0 / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/1.618, allocations: 15.28 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/1.618, allocations: 1.547 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/1.619, allocations: 131.9 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/1.619, allocations: 0.6855 MB / 1.365 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.022e-05/1.619, allocations: 2.234 kB / 1.365 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/1.619, allocations: 14.88 kB / 1.365 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.619, allocations: 0 / 1.365 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/1.635, allocations: 1.954 MB / 1.367 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/1.635, allocations: 189.3 kB / 1.367 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/3.322, allocations: 0 / 1.367 GB, free: 30.1 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat does not exist to compare? outputFormat=mat