Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.32/2.32, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001553/0.001553, allocations: 180 kB / 0.4901 GB, free: 2.258 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.589/1.589, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009937/0.0009935, allocations: 104.1 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 6.938 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3234, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2628/0.5863, allocations: 152.1 MB / 1.378 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.5866, allocations: 79.95 kB / 1.378 GB, free: 1.25 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.01013/0.5967, allocations: 3.129 MB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.759e-06/0.5968, allocations: 4 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.5968, allocations: 0 / 1.381 GB, free: 14.11 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.0005424/0.5973, allocations: 458.4 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5974, allocations: 8.031 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.5974, allocations: 34.56 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.5975, allocations: 15.86 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.5977, allocations: 174.9 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.5977, allocations: 11.94 kB / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.5977, allocations: 4 kB / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.598, allocations: 89.62 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.598, allocations: 0 / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.598, allocations: 0 / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.598, allocations: 0 / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.5982, allocations: 59.91 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.5987, allocations: 324.7 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.5989, allocations: 74.55 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.5989, allocations: 0 / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.5992, allocations: 103.3 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.5992, allocations: 0 / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0004776/0.5996, allocations: 197.4 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.5997, allocations: 59.41 kB / 1.382 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.5998, allocations: 120.8 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.5998, allocations: 25.7 kB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.5999, allocations: 96.28 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.5999, allocations: 23.94 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.5999, allocations: 4 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6, allocations: 322.8 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.6001, allocations: 27.98 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.6003, allocations: 85.16 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.253e-05/0.6004, allocations: 35.94 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6004, allocations: 0 / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002651/0.6006, allocations: 141.4 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6007, allocations: 8 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6007, allocations: 0 / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.6007, allocations: 4 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.6008, allocations: 19.92 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.6008, allocations: 3.953 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.6009, allocations: 20.06 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.6009, allocations: 11.98 kB / 1.383 GB, free: 11.34 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 9.167e-05/0.601, allocations: 122.6 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.601, allocations: 4 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.6011, allocations: 4.375 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.6011, allocations: 0 / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6011, allocations: 7.938 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.6011, allocations: 8.031 kB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.6017, allocations: 442.7 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6017, allocations: 0 / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.6017, allocations: 4 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.6017, allocations: 96 / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.6018, allocations: 11.86 kB / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6018, allocations: 7.953 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.6018, allocations: 4 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.6021, allocations: 247.3 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.6022, allocations: 92.94 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.6022, allocations: 0 / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.6023, allocations: 12 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.6024, allocations: 11.94 kB / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.6024, allocations: 4 kB / 1.384 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.772e-05/0.6024, allocations: 99.25 kB / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6025, allocations: 0 / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003223/0.6028, allocations: 48 kB / 1.384 GB, free: 10.14 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.0008547/0.6036, allocations: 0.8578 MB / 1.385 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.6039, allocations: 99.83 kB / 1.385 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6039, allocations: 0 / 1.385 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.604, allocations: 55.91 kB / 1.385 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.6042, allocations: 15.94 kB / 1.385 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009852/0.6052, allocations: 1.375 MB / 1.387 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.6055, allocations: 0.6965 MB / 1.387 GB, free: 6.922 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.6055, allocations: 7.938 kB / 1.387 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.6056, allocations: 23.42 kB / 1.388 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/0.6056, allocations: 0 / 1.388 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.6203, allocations: 2.826 MB / 1.39 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.6205, allocations: 251.1 kB / 1.391 GB, free: 3.926 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.285, allocations: 0 / 1.391 GB, free: 3.926 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat