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.14/2.14, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.0012/0.0012, allocations: 185 kB / 498.1 MB, free: 5.734 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.445/1.445, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009157/0.0009158, allocations: 92.34 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 10.38 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2808, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.47, allocations: 149.6 MB / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.4703, allocations: 79.94 kB / 1.369 GB, free: 12.33 MB / 0.8698 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.006819/0.4772, allocations: 2.271 MB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4772, allocations: 0 / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.4772, allocations: 4 kB / 1.371 GB, free: 10.05 MB / 0.8698 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.0004628/0.4777, allocations: 388.8 kB / 1.372 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.734e-05/0.4778, allocations: 15.97 kB / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.291e-05/0.4779, allocations: 34.55 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.4779, allocations: 3.953 kB / 1.372 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.478, allocations: 163.1 kB / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.4781, allocations: 0 / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.4781, allocations: 11.94 kB / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.4782, allocations: 41.67 kB / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4782, allocations: 0 / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.4783, allocations: 0 / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4783, allocations: 4 kB / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.776e-05/0.4783, allocations: 8 kB / 1.372 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.4787, allocations: 256.8 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.812e-05/0.4788, allocations: 34.56 kB / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.4788, allocations: 0 / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.479, allocations: 55.5 kB / 1.372 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.479, allocations: 0 / 1.372 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.0002375/0.4792, allocations: 77.61 kB / 1.372 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.4793, allocations: 55.36 kB / 1.372 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.4794, allocations: 96.98 kB / 1.372 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4794, allocations: 29.7 kB / 1.373 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.4794, allocations: 84.14 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.4795, allocations: 11.81 kB / 1.373 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.4795, allocations: 0 / 1.373 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4796, allocations: 322.8 kB / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.4796, allocations: 4 kB / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.4797, allocations: 35.42 kB / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.4797, allocations: 19.94 kB / 1.373 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4797, allocations: 0 / 1.373 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001142/0.4798, allocations: 69.84 kB / 1.373 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4799, allocations: 4.781 kB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4799, allocations: 7.984 kB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4799, allocations: 0 / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.48, allocations: 8 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.48, allocations: 3.938 kB / 1.373 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.48, allocations: 23.86 kB / 1.373 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.48, allocations: 0 / 1.373 GB, free: 7.98 MB / 0.8698 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 () * Number of clocked 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 8.712e-05/0.4801, allocations: 114.5 kB / 1.373 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.4802, allocations: 0 / 1.373 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.4802, allocations: 15.55 kB / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4802, allocations: 0 / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.4802, allocations: 0 / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4802, allocations: 3.938 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.4805, allocations: 302.8 kB / 1.373 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4805, allocations: 7.984 kB / 1.373 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.4805, allocations: 4 kB / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4806, allocations: 0 / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.4806, allocations: 0 / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4806, allocations: 0 / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.4806, allocations: 3.953 kB / 1.374 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.4808, allocations: 159.5 kB / 1.374 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.4808, allocations: 85.02 kB / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.4808, allocations: 4 kB / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.4809, allocations: 0 / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.4809, allocations: 0 / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.4809, allocations: 11.95 kB / 1.374 GB, free: 7.184 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.481, allocations: 79.27 kB / 1.374 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.755e-06/0.481, allocations: 0 / 1.374 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003177/0.4813, allocations: 51.88 kB / 1.374 GB, free: 7.055 MB / 0.8698 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 () * Number of clocked 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.0007936/0.4821, allocations: 0.785 MB / 1.375 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.4822, allocations: 40.03 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.4823, allocations: 0 / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.864e-05/0.4823, allocations: 24.06 kB / 1.375 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.4824, allocations: 4 kB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007932/0.4832, allocations: 0.8139 MB / 1.376 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.4835, allocations: 0.6809 MB / 1.376 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.598e-05/0.4835, allocations: 7.984 kB / 1.376 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.4836, allocations: 7.438 kB / 1.376 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of SimCode: time 9.22e-07/0.4836, allocations: 0 / 1.376 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.4982, allocations: 1.917 MB / 1.378 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/0.4985, allocations: 224.3 kB / 1.378 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.088, allocations: 0 / 1.378 GB, free: 2.543 MB / 0.8698 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