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.398/2.398, allocations: 390.5 MB / 398 MB, free: 10.96 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.001339/0.001339, allocations: 182.5 kB / 491.2 MB, free: 1.605 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.772/1.772, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001013/0.001013, allocations: 102.3 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.907e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3981, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.356/1.754, allocations: 151.4 MB / 1.36 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.754, allocations: 80.7 kB / 1.36 GB, free: 17.39 MB / 0.823 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.00969/1.764, allocations: 3.079 MB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.864e-06/1.764, allocations: 0 / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.418e-06/1.764, allocations: 3.875 kB / 1.363 GB, free: 32.93 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.0005227/1.765, allocations: 449.5 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.765, allocations: 9.266 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/1.765, allocations: 11.67 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/1.765, allocations: 171.5 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/1.765, allocations: 7.688 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/1.765, allocations: 7.719 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.941e-05/1.765, allocations: 30.89 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/1.765, allocations: 75.34 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.765, allocations: 0 / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/1.765, allocations: 1.359 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.765, allocations: 0 / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/1.766, allocations: 303.4 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/1.766, allocations: 52.12 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/1.766, allocations: 39.66 kB / 1.364 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/1.766, allocations: 3.906 kB / 1.364 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/1.766, allocations: 85.3 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/1.766, allocations: 4 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003386/1.767, allocations: 135.7 kB / 1.365 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/1.767, allocations: 60.98 kB / 1.365 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.052e-05/1.767, allocations: 113.2 kB / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/1.767, allocations: 29.52 kB / 1.365 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/1.767, allocations: 90.98 kB / 1.365 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/1.767, allocations: 19.22 kB / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/1.767, allocations: 0 / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.767, allocations: 328.4 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/1.767, allocations: 20.05 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/1.767, allocations: 57.47 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/1.767, allocations: 29.78 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.767, allocations: 0 / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000147/1.767, allocations: 107.7 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.767, allocations: 5.531 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.767, allocations: 3.906 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.767, allocations: 0 / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.678e-05/1.767, allocations: 22.33 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.767, allocations: 1.688 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/1.767, allocations: 19.73 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/1.767, allocations: 9.781 kB / 1.366 GB, free: 31.15 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 9.431e-05/1.768, allocations: 113.5 kB / 1.366 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002029/1.768, allocations: 130.2 kB / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/1.768, allocations: 12.66 kB / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/1.768, allocations: 12.38 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/1.768, allocations: 0 / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.768, allocations: 11.27 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.768, allocations: 1.641 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/1.768, allocations: 388.3 kB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.768, allocations: 288 / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/1.768, allocations: 4.953 kB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.768, allocations: 0 / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/1.768, allocations: 10.23 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-05/1.768, allocations: 3.953 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.768, allocations: 0 / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/1.769, allocations: 234 kB / 1.366 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/1.769, allocations: 81.02 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/1.769, allocations: 5.531 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/1.769, allocations: 5.656 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/1.769, allocations: 10.44 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/1.769, allocations: 6.625 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.762e-05/1.769, allocations: 92.86 kB / 1.367 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.769, allocations: 4 kB / 1.367 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003388/1.769, allocations: 52 kB / 1.367 GB, free: 30.37 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.0008128/1.77, allocations: 0.8413 MB / 1.367 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001641/1.77, allocations: 67.03 kB / 1.368 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/1.77, allocations: 3.844 kB / 1.368 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.566e-05/1.77, allocations: 33.5 kB / 1.368 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/1.771, allocations: 15.31 kB / 1.368 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/1.771, allocations: 171.4 kB / 1.368 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/1.771, allocations: 0.6943 MB / 1.368 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.014e-05/1.771, allocations: 5.266 kB / 1.368 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/1.772, allocations: 24.42 kB / 1.368 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.772, allocations: 0 / 1.368 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/1.797, allocations: 2.507 MB / 1.371 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/1.797, allocations: 199.8 kB / 1.371 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/3.568, allocations: 2 kB / 1.371 GB, free: 28.39 MB / 0.8386 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