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.484/2.484, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001212/0.001212, allocations: 179.9 kB / 0.4901 GB, free: 2.242 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.725/1.725, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009149/0.0009145, allocations: 100.8 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 14.12 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3144, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.5054, allocations: 150.4 MB / 1.376 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5057, allocations: 75.95 kB / 1.376 GB, free: 3.023 MB / 0.8698 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.007152/0.5129, allocations: 2.356 MB / 1.379 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.376e-06/0.5129, allocations: 0 / 1.379 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.5129, allocations: 0 / 1.379 GB, free: 0.6641 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.0005752/0.5135, allocations: 388.9 kB / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/0.5136, allocations: 12.56 kB / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.837e-05/0.5137, allocations: 34.55 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.5137, allocations: 7.953 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.5139, allocations: 171 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.514, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.514, allocations: 8 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.5141, allocations: 37.67 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5142, allocations: 4 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.5142, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5142, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.92e-05/0.5142, allocations: 15.89 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.5147, allocations: 252.8 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.5148, allocations: 38.55 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.5148, allocations: 0 / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.515, allocations: 63.42 kB / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.515, allocations: 4 kB / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0002608/0.5153, allocations: 69.64 kB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.5154, allocations: 55.41 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.5155, allocations: 96.98 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.5155, allocations: 33.7 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.5156, allocations: 80.14 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.5156, allocations: 15.8 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5156, allocations: 4 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5158, allocations: 314.8 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/0.5158, allocations: 8 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.5159, allocations: 39.36 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.5159, allocations: 12 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5159, allocations: 3.938 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001131/0.516, allocations: 69.61 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5161, allocations: 12.06 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5161, allocations: 0 / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.5161, allocations: 0 / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.5162, allocations: 11.94 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.5162, allocations: 12.44 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.5163, allocations: 3.906 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.5163, allocations: 8 kB / 1.38 GB, free: 14.57 MB / 0.8855 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 9.672e-05/0.5164, allocations: 109.8 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.5164, allocations: 4 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.5164, allocations: 11.97 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5165, allocations: 4 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.5165, allocations: 4 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5165, allocations: 3.953 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.5168, allocations: 298.6 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5168, allocations: 0 / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.5168, allocations: 0 / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.5169, allocations: 4 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.5169, allocations: 3.984 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5169, allocations: 7.938 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5169, allocations: 3.953 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.5171, allocations: 159.5 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.5171, allocations: 81.11 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.5172, allocations: 3.984 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.5172, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.5173, allocations: 11.89 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.5173, allocations: 4 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.867e-05/0.5173, allocations: 87.27 kB / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5173, allocations: 0 / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003465/0.5177, allocations: 47.98 kB / 1.381 GB, free: 13.64 MB / 0.8855 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.0009504/0.5187, allocations: 0.7945 MB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.5188, allocations: 31.92 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5188, allocations: 0 / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.174e-05/0.5189, allocations: 16 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.5191, allocations: 0.8594 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.5201, allocations: 0.8213 MB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.5204, allocations: 0.6887 MB / 1.383 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.5204, allocations: 8 kB / 1.383 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.5204, allocations: 15.44 kB / 1.383 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/0.5204, allocations: 0 / 1.383 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.5347, allocations: 2.003 MB / 1.385 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.535, allocations: 232.1 kB / 1.386 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.146, allocations: 0 / 1.386 GB, free: 9.074 MB / 0.8855 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