Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.256/2.256, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001166/0.001166, allocations: 185 kB / 498.1 MB, free: 5.691 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.515/1.515, allocations: 223.1 MB / 0.7948 GB, free: 18.9 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.0008503/0.0008501, allocations: 98.45 kB / 0.9346 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 12 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 142.3 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.4277, allocations: 151.3 MB / 1.371 GB, free: 2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.428, allocations: 87.94 kB / 1.371 GB, free: 1.914 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.009239/0.4373, allocations: 3.109 MB / 1.374 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4373, allocations: 8 kB / 1.374 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4373, allocations: 0 / 1.374 GB, free: 14.79 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006408/0.438, allocations: 466.4 kB / 1.374 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.438, allocations: 8.031 kB / 1.374 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.918e-05/0.4381, allocations: 34.56 kB / 1.374 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.4382, allocations: 11.86 kB / 1.374 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.4384, allocations: 178.8 kB / 1.374 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.4384, allocations: 15.94 kB / 1.374 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.4384, allocations: 4 kB / 1.374 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.4387, allocations: 89.62 kB / 1.375 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4387, allocations: 0 / 1.375 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4387, allocations: 0 / 1.375 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4387, allocations: 0 / 1.375 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.4389, allocations: 59.91 kB / 1.375 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006861/0.4396, allocations: 320.8 kB / 1.375 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.4398, allocations: 66.56 kB / 1.375 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.4399, allocations: 8.141 kB / 1.375 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.4401, allocations: 99.38 kB / 1.375 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.4401, allocations: 0 / 1.375 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0005147/0.4406, allocations: 197.4 kB / 1.375 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.4407, allocations: 63.52 kB / 1.375 GB, free: 13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.4408, allocations: 116.9 kB / 1.375 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.4408, allocations: 29.7 kB / 1.375 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.4408, allocations: 92.36 kB / 1.376 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.4409, allocations: 19.75 kB / 1.376 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.4409, allocations: 4 kB / 1.376 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.441, allocations: 326.8 kB / 1.376 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.009e-05/0.4411, allocations: 23.98 kB / 1.376 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.4412, allocations: 81.98 kB / 1.376 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/0.4413, allocations: 40.3 kB / 1.376 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4413, allocations: 0 / 1.376 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002711/0.4416, allocations: 141.5 kB / 1.376 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4416, allocations: 8 kB / 1.376 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4417, allocations: 3.938 kB / 1.376 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4417, allocations: 4.094 kB / 1.376 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.4418, allocations: 19.92 kB / 1.376 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4418, allocations: 3.953 kB / 1.376 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.4419, allocations: 19.88 kB / 1.376 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.4419, allocations: 8 kB / 1.376 GB, free: 12.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.0001141/0.442, allocations: 129.8 kB / 1.376 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.442, allocations: 7.906 kB / 1.376 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.4421, allocations: 8.375 kB / 1.376 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4421, allocations: 7.984 kB / 1.376 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4421, allocations: 0 / 1.376 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4421, allocations: 3.953 kB / 1.376 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.4427, allocations: 434.4 kB / 1.377 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4427, allocations: 4 kB / 1.377 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.4427, allocations: 8 kB / 1.377 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4428, allocations: 0 / 1.377 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.4428, allocations: 3.984 kB / 1.377 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4428, allocations: 7.953 kB / 1.377 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4428, allocations: 0 / 1.377 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.4432, allocations: 251.3 kB / 1.377 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.4432, allocations: 85.02 kB / 1.377 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.4433, allocations: 4 kB / 1.377 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4434, allocations: 11.98 kB / 1.377 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.4434, allocations: 7.891 kB / 1.377 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.4434, allocations: 11.98 kB / 1.377 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.201e-05/0.4435, allocations: 99.27 kB / 1.377 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4435, allocations: 0 / 1.377 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003591/0.4439, allocations: 51.98 kB / 1.377 GB, free: 10.8 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009677/0.4449, allocations: 0.8615 MB / 1.378 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000276/0.4451, allocations: 95.95 kB / 1.378 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4452, allocations: 0 / 1.378 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.4453, allocations: 51.92 kB / 1.378 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.4455, allocations: 15.94 kB / 1.378 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.4467, allocations: 1.369 MB / 1.38 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.447, allocations: 0.6965 MB / 1.38 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.214e-05/0.447, allocations: 7.984 kB / 1.38 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.4471, allocations: 23.42 kB / 1.38 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/0.4471, allocations: 0 / 1.38 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.4627, allocations: 2.801 MB / 1.383 GB, free: 4.945 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003097/0.463, allocations: 237.9 kB / 1.383 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/1.961, allocations: 2.391 kB / 1.383 GB, free: 4.707 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat does not exist to compare? outputFormat=mat