Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.173/2.173, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001033/0.001033, allocations: 172.9 kB / 496.1 MB, free: 12.86 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.395/1.395, allocations: 221.3 MB / 0.7915 GB, free: 5.352 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.0009379/0.0009378, allocations: 103.1 kB / 0.9317 GB, free: 5.66 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.486e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2484, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8187/1.067, allocations: 150.4 MB / 1.366 GB, free: 3.508 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/1.067, allocations: 68.91 kB / 1.366 GB, free: 3.473 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.006423/1.074, allocations: 2.338 MB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.643e-06/1.074, allocations: 0 / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.074, allocations: 0 / 1.368 GB, free: 1.465 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003574/1.074, allocations: 386.9 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.074, allocations: 12.03 kB / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.553e-05/1.074, allocations: 31.34 kB / 1.368 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/1.074, allocations: 11.8 kB / 1.368 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/1.074, allocations: 171 kB / 1.369 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/1.075, allocations: 0 / 1.369 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/1.075, allocations: 7.375 kB / 1.369 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.921e-05/1.075, allocations: 37.69 kB / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/1.075, allocations: 0 / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/1.075, allocations: 0 / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/1.075, allocations: 4 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.04e-05/1.075, allocations: 10.77 kB / 1.369 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/1.075, allocations: 251.5 kB / 1.369 GB, free: 436 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/1.075, allocations: 30.02 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/1.075, allocations: 16.3 kB / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/1.075, allocations: 11.98 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/1.075, allocations: 59.09 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/1.075, allocations: 0 / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001674/1.075, allocations: 73.11 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/1.076, allocations: 51.41 kB / 1.369 GB, free: 168 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/1.076, allocations: 100.6 kB / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/1.076, allocations: 32.38 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/1.076, allocations: 91.77 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/1.076, allocations: 3.906 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/1.076, allocations: 0 / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/1.076, allocations: 318.3 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/1.076, allocations: 11.69 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/1.076, allocations: 35.05 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.054e-05/1.076, allocations: 12 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.076, allocations: 0 / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001065/1.076, allocations: 80.77 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.076, allocations: 5.25 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.076, allocations: 0.875 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.076, allocations: 4 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/1.076, allocations: 8 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.076, allocations: 8.719 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/1.076, allocations: 7.062 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/1.076, allocations: 4 kB / 1.37 GB, free: 15.45 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 6.009e-05/1.076, allocations: 112.9 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/1.076, allocations: 7.594 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/1.076, allocations: 4.094 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.076, allocations: 4 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.076, allocations: 0.8125 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.076, allocations: 3.953 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/1.077, allocations: 299.7 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.077, allocations: 384 / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/1.077, allocations: 4 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/1.077, allocations: 4 kB / 1.37 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/1.077, allocations: 7.922 kB / 1.37 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/1.077, allocations: 3.953 kB / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.077, allocations: 0 / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/1.077, allocations: 157.6 kB / 1.37 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/1.077, allocations: 88.95 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/1.077, allocations: 3.984 kB / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.824e-05/1.077, allocations: 0 / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/1.077, allocations: 7.953 kB / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/1.077, allocations: 3.75 kB / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.265e-05/1.077, allocations: 83.28 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/1.077, allocations: 0 / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002896/1.077, allocations: 47.61 kB / 1.371 GB, free: 14.55 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.0006582/1.078, allocations: 0.7901 MB / 1.371 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.703e-05/1.078, allocations: 38.42 kB / 1.371 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.078, allocations: 0 / 1.371 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/1.078, allocations: 15.61 kB / 1.371 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/1.078, allocations: 13.16 kB / 1.371 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/1.079, allocations: 132.6 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/1.079, allocations: 0.6848 MB / 1.372 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.105e-05/1.079, allocations: 0 / 1.372 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/1.079, allocations: 11.44 kB / 1.372 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.525e-06/1.079, allocations: 0 / 1.372 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/1.092, allocations: 2.029 MB / 1.374 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/1.092, allocations: 206.9 kB / 1.374 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/2.53, allocations: 0 / 1.374 GB, free: 10.73 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat does not exist to compare? outputFormat=mat