Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.502/2.502, allocations: 393.5 MB / 408.4 MB, free: 11 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.001031/0.00103, allocations: 180 kB / 0.4901 GB, free: 2.266 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.509/1.509, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.0009542/0.0009542, allocations: 98.22 kB / 0.9396 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 8 kB / 1.09 GB, free: 216.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3149, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.5104, allocations: 152 MB / 1.378 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5108, allocations: 83.95 kB / 1.378 GB, free: 1.555 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.009523/0.5203, allocations: 3.059 MB / 1.381 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5203, allocations: 0 / 1.381 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.5203, allocations: 4 kB / 1.381 GB, free: 14.48 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000546/0.5209, allocations: 454.4 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.521, allocations: 8.031 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.521, allocations: 38.56 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.521, allocations: 11.84 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.5212, allocations: 171.1 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.5212, allocations: 0 / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.5212, allocations: 4 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.5214, allocations: 77.64 kB / 1.382 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.5215, allocations: 7.938 kB / 1.382 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5215, allocations: 0 / 1.382 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5215, allocations: 0 / 1.382 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.5216, allocations: 43.97 kB / 1.382 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.5222, allocations: 312.7 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.5223, allocations: 50.5 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.5223, allocations: 7.969 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.5225, allocations: 91.5 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.5225, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004193/0.5229, allocations: 153.5 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.523, allocations: 55.41 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.5231, allocations: 117 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.5231, allocations: 25.7 kB / 1.382 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.5232, allocations: 96.31 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.5232, allocations: 15.8 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.5232, allocations: 0 / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5233, allocations: 326.8 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.593e-05/0.5234, allocations: 23.98 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.5235, allocations: 65.14 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.042e-05/0.5236, allocations: 31.98 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5236, allocations: 0 / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000226/0.5239, allocations: 117.4 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5239, allocations: 11.94 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5239, allocations: 0 / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5239, allocations: 4.156 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.524, allocations: 19.92 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.524, allocations: 7.953 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.5241, allocations: 4 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.5241, allocations: 8 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.p,bli.p,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.846e-05/0.5242, allocations: 126.6 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.5243, allocations: 7.906 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.5243, allocations: 8.375 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5243, allocations: 4 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5243, allocations: 0 / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5243, allocations: 3.953 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.5248, allocations: 394.3 kB / 1.384 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5248, allocations: 0 / 1.384 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.5249, allocations: 7.984 kB / 1.384 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5249, allocations: 8 kB / 1.384 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.5249, allocations: 4 kB / 1.384 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.5249, allocations: 3.953 kB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5249, allocations: 0 / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.5252, allocations: 223.8 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.5253, allocations: 89.02 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.5253, allocations: 3.984 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.5254, allocations: 4 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.5255, allocations: 11.94 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.5255, allocations: 0 / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.769e-05/0.5256, allocations: 102.9 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5256, allocations: 0 / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005059/0.5261, allocations: 51.92 kB / 1.384 GB, free: 10.79 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009142/0.527, allocations: 0.8287 MB / 1.385 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.5273, allocations: 71.91 kB / 1.385 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5273, allocations: 0 / 1.385 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.5274, allocations: 43.95 kB / 1.385 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.5276, allocations: 18.5 kB / 1.385 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.5287, allocations: 1.203 MB / 1.386 GB, free: 8.535 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.5289, allocations: 0.6965 MB / 1.387 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.747e-05/0.529, allocations: 4.188 kB / 1.387 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.529, allocations: 19.42 kB / 1.387 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of SimCode: time 6.42e-07/0.529, allocations: 0 / 1.387 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.5437, allocations: 2.581 MB / 1.389 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/0.544, allocations: 262.8 kB / 1.39 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.195, allocations: 0 / 1.39 GB, free: 5.078 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat