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.227/2.227, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001178/0.001177, allocations: 165.2 kB / 498.1 MB, free: 5.75 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.489/1.489, allocations: 223.1 MB / 0.7948 GB, free: 17.88 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.00102/0.00102, allocations: 102.8 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003234, allocations: 7.938 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2487, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/0.4177, allocations: 151.3 MB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.418, allocations: 91.88 kB / 1.371 GB, free: 10.52 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.009143/0.4271, allocations: 3.118 MB / 1.374 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4272, allocations: 0 / 1.374 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.4272, allocations: 0 / 1.374 GB, free: 7.398 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000549/0.4277, allocations: 474.2 kB / 1.374 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4278, allocations: 12.03 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.4278, allocations: 34.56 kB / 1.374 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.4279, allocations: 15.86 kB / 1.374 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.428, allocations: 171 kB / 1.374 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.4281, allocations: 4 kB / 1.374 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.4281, allocations: 8 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.4283, allocations: 85.58 kB / 1.375 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4283, allocations: 0 / 1.375 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.4283, allocations: 7.984 kB / 1.375 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4283, allocations: 4 kB / 1.375 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.4285, allocations: 47.97 kB / 1.375 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.4291, allocations: 320.8 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.4292, allocations: 74.58 kB / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4293, allocations: 0 / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.4295, allocations: 95.52 kB / 1.375 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.4295, allocations: 0 / 1.375 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.000503/0.43, allocations: 205.3 kB / 1.375 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.43, allocations: 59.39 kB / 1.375 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.4301, allocations: 124.8 kB / 1.375 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.4302, allocations: 25.7 kB / 1.375 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.4302, allocations: 92.38 kB / 1.376 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.4303, allocations: 19.8 kB / 1.376 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.4303, allocations: 4 kB / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4304, allocations: 322.8 kB / 1.376 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/0.4305, allocations: 31.97 kB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.4306, allocations: 74 kB / 1.376 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.796e-05/0.4307, allocations: 35.98 kB / 1.376 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4307, allocations: 4 kB / 1.376 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002747/0.431, allocations: 141.4 kB / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.431, allocations: 8 kB / 1.376 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4311, allocations: 0 / 1.376 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4311, allocations: 4 kB / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.4312, allocations: 23.92 kB / 1.376 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4312, allocations: 7.953 kB / 1.376 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.4313, allocations: 16 kB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.4313, allocations: 4 kB / 1.376 GB, free: 4.633 MB / 0.8698 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.0001137/0.4314, allocations: 132 kB / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.4314, allocations: 8 kB / 1.376 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.4315, allocations: 12.36 kB / 1.376 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4315, allocations: 4 kB / 1.376 GB, free: 4.473 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4315, allocations: 4 kB / 1.376 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4315, allocations: 7.953 kB / 1.376 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.432, allocations: 430.4 kB / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4321, allocations: 0 / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.4321, allocations: 7.984 kB / 1.377 GB, free: 3.977 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4321, allocations: 0 / 1.377 GB, free: 3.977 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.4321, allocations: 8 kB / 1.377 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.4322, allocations: 7.953 kB / 1.377 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4322, allocations: 8.391 kB / 1.377 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.4325, allocations: 247.3 kB / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.4326, allocations: 81.02 kB / 1.377 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.4326, allocations: 11.92 kB / 1.377 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.4327, allocations: 12.97 kB / 1.377 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.4328, allocations: 11.94 kB / 1.377 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.4328, allocations: 0 / 1.377 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.4329, allocations: 95.27 kB / 1.377 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4329, allocations: 0 / 1.377 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003401/0.4332, allocations: 59.92 kB / 1.377 GB, free: 3.41 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: 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.0008976/0.4341, allocations: 0.8575 MB / 1.378 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002813/0.4344, allocations: 107.8 kB / 1.378 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4344, allocations: 0 / 1.378 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.4346, allocations: 47.97 kB / 1.378 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.4348, allocations: 12.27 kB / 1.378 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.4359, allocations: 1.378 MB / 1.38 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.4362, allocations: 0.6926 MB / 1.38 GB, free: 204 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.196e-05/0.4362, allocations: 4.188 kB / 1.38 GB, free: 200 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.4363, allocations: 23.42 kB / 1.38 GB, free: 176 kB / 0.8698 GB Notification: Performance of SimCode: time 4.919e-06/0.4363, allocations: 0 / 1.38 GB, free: 176 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.4506, allocations: 2.818 MB / 1.383 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.4509, allocations: 244.7 kB / 1.383 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/1.999, allocations: 0 / 1.383 GB, free: 13.29 MB / 0.8855 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