Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.3 MB / 405.3 MB, free: 13.35 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.001173/0.001173, allocations: 177.1 kB / 498.1 MB, free: 5.59 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.541/1.541, allocations: 223.2 MB / 0.7948 GB, free: 17.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.0008729/0.0008729, allocations: 102.6 kB / 0.9346 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 6.688 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2574, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.4346, allocations: 151.2 MB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.4349, allocations: 87.89 kB / 1.371 GB, free: 10.58 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.009404/0.4443, allocations: 3.043 MB / 1.374 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4443, allocations: 4 kB / 1.374 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.4443, allocations: 4 kB / 1.374 GB, free: 7.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006004/0.4449, allocations: 458.4 kB / 1.374 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.445, allocations: 8.031 kB / 1.374 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.339e-05/0.4451, allocations: 34.56 kB / 1.374 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.4451, allocations: 11.86 kB / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.4453, allocations: 174.9 kB / 1.374 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.4453, allocations: 11.98 kB / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.4453, allocations: 4 kB / 1.374 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.4455, allocations: 77.64 kB / 1.374 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4456, allocations: 7.875 kB / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4456, allocations: 0 / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4456, allocations: 0 / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.4458, allocations: 47.97 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.4463, allocations: 308.7 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.4464, allocations: 46.56 kB / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.4465, allocations: 4 kB / 1.375 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.4467, allocations: 87.44 kB / 1.375 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.4467, allocations: 0 / 1.375 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0004445/0.4471, allocations: 157.5 kB / 1.375 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.4472, allocations: 55.41 kB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.4473, allocations: 120.5 kB / 1.375 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.4473, allocations: 25.7 kB / 1.375 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.4474, allocations: 92.33 kB / 1.375 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.4474, allocations: 15.8 kB / 1.375 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.4474, allocations: 7.938 kB / 1.375 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4476, allocations: 318.8 kB / 1.376 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.4477, allocations: 23.98 kB / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.4478, allocations: 65.12 kB / 1.376 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.667e-05/0.4479, allocations: 31.98 kB / 1.376 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4479, allocations: 4 kB / 1.376 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002393/0.4481, allocations: 121.5 kB / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4482, allocations: 4.938 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4482, allocations: 4 kB / 1.376 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4482, allocations: 0 / 1.376 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4483, allocations: 15.94 kB / 1.376 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4483, allocations: 7.891 kB / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/0.4484, allocations: 19.83 kB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.4484, allocations: 4.047 kB / 1.376 GB, free: 4.938 MB / 0.8698 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 0.0001145/0.4486, allocations: 128 kB / 1.376 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.4486, allocations: 4 kB / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.4486, allocations: 8.359 kB / 1.376 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4486, allocations: 4 kB / 1.376 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4486, allocations: 0 / 1.376 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4486, allocations: 3.953 kB / 1.376 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.4491, allocations: 398.4 kB / 1.376 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4492, allocations: 0 / 1.376 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.4492, allocations: 8 kB / 1.376 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4492, allocations: 0 / 1.376 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.4492, allocations: 7.984 kB / 1.376 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4492, allocations: 3.953 kB / 1.376 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4492, allocations: 0 / 1.376 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.4496, allocations: 232.2 kB / 1.377 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.4496, allocations: 77.11 kB / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.4497, allocations: 4 kB / 1.377 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.4498, allocations: 7.984 kB / 1.377 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.4498, allocations: 7.953 kB / 1.377 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.4498, allocations: 7.984 kB / 1.377 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.4499, allocations: 95.27 kB / 1.377 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4499, allocations: 0 / 1.377 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003222/0.4502, allocations: 55.88 kB / 1.377 GB, free: 3.809 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: 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.000903/0.4511, allocations: 0.8212 MB / 1.378 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.4514, allocations: 75.89 kB / 1.378 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4514, allocations: 4.312 kB / 1.378 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.4515, allocations: 35.98 kB / 1.378 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.4517, allocations: 13.31 kB / 1.378 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.4529, allocations: 1.211 MB / 1.379 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.4532, allocations: 0.6926 MB / 1.38 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.146e-05/0.4533, allocations: 12.25 kB / 1.38 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.4533, allocations: 19.44 kB / 1.38 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.4533, allocations: 4 kB / 1.38 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.4695, allocations: 2.571 MB / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/0.4699, allocations: 246.5 kB / 1.383 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/1.967, allocations: 0 / 1.383 GB, free: 14.08 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat