Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.513/2.513, allocations: 387.1 MB / 399.7 MB, free: 9.422 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: 173 kB / 492.3 MB, free: 0.6328 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.793/1.793, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001024/0.001024, allocations: 106.8 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.942e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4089, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.344/1.753, allocations: 151.2 MB / 1.36 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/1.753, allocations: 86.44 kB / 1.36 GB, free: 19.02 MB / 0.823 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.01021/1.763, allocations: 3.084 MB / 1.363 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.044e-06/1.763, allocations: 0 / 1.363 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.225e-05/1.763, allocations: 3.906 kB / 1.363 GB, free: 34.57 MB / 0.8386 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.0005695/1.764, allocations: 451.9 kB / 1.364 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.764, allocations: 7.906 kB / 1.364 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.899e-05/1.764, allocations: 39.94 kB / 1.364 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/1.764, allocations: 7.656 kB / 1.364 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/1.764, allocations: 184 kB / 1.364 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/1.764, allocations: 9.344 kB / 1.364 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/1.764, allocations: 5.641 kB / 1.364 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/1.765, allocations: 74.89 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.765, allocations: 0 / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/1.765, allocations: 9.156 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/1.765, allocations: 0 / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-05/1.765, allocations: 38.39 kB / 1.364 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/1.765, allocations: 323.5 kB / 1.364 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/1.765, allocations: 60.81 kB / 1.364 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/1.766, allocations: 40.3 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/1.766, allocations: 3.938 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/1.766, allocations: 91.75 kB / 1.365 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/1.766, allocations: 0 / 1.365 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003066/1.766, allocations: 140.6 kB / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.766, allocations: 56.62 kB / 1.365 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/1.766, allocations: 123.3 kB / 1.365 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/1.766, allocations: 28.83 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/1.766, allocations: 93.75 kB / 1.365 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/1.766, allocations: 23.48 kB / 1.365 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/1.766, allocations: 0 / 1.365 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.766, allocations: 316.7 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/1.766, allocations: 22.62 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.179e-05/1.767, allocations: 67.67 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/1.767, allocations: 34.12 kB / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.767, allocations: 0 / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001804/1.767, allocations: 118 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.767, allocations: 7.688 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.767, allocations: 1.266 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.767, allocations: 3.969 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/1.767, allocations: 18.33 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/1.767, allocations: 7.828 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/1.767, allocations: 12.78 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/1.767, allocations: 6.438 kB / 1.366 GB, free: 32.7 MB / 0.8386 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 () * 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.0001107/1.767, allocations: 122.4 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/1.767, allocations: 11.69 kB / 1.366 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/1.767, allocations: 9.438 kB / 1.366 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.767, allocations: 3.812 kB / 1.366 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.767, allocations: 0 / 1.366 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/1.767, allocations: 5.547 kB / 1.366 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/1.768, allocations: 419.7 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.768, allocations: 8 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/1.768, allocations: 3.875 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.768, allocations: 2.953 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/1.768, allocations: 0 / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/1.768, allocations: 11.83 kB / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.768, allocations: 0 / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/1.768, allocations: 234.4 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/1.768, allocations: 84.89 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/1.768, allocations: 4.094 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.66e-05/1.768, allocations: 8.781 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/1.768, allocations: 14.55 kB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/1.768, allocations: 6.625 kB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.145e-05/1.768, allocations: 93.94 kB / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.768, allocations: 0 / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003148/1.769, allocations: 48.41 kB / 1.367 GB, free: 31.93 MB / 0.8386 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) * 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.0007665/1.77, allocations: 0.8509 MB / 1.367 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001689/1.77, allocations: 77.02 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.77, allocations: 4.062 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/1.77, allocations: 40.09 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/1.77, allocations: 15.86 kB / 1.368 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/1.771, allocations: 172.7 kB / 1.368 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/1.771, allocations: 0.6924 MB / 1.368 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.888e-05/1.771, allocations: 10.81 kB / 1.368 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/1.771, allocations: 23.61 kB / 1.368 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/1.771, allocations: 0 / 1.368 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/1.786, allocations: 2.83 MB / 1.371 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/1.787, allocations: 213 kB / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/3.492, allocations: 0 / 1.371 GB, free: 29.91 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat