Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.606/2.606, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001736/0.001736, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.84/1.84, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001005/0.001005, allocations: 90.59 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.296e-05/5.3e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2812, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/1.606, allocations: 151.2 MB / 1.36 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/1.607, allocations: 84.52 kB / 1.36 GB, free: 18.94 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.009822/1.617, allocations: 3.02 MB / 1.363 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.124e-06/1.617, allocations: 0 / 1.363 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.617, allocations: 0 / 1.363 GB, free: 34.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000481/1.617, allocations: 446.9 kB / 1.364 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.617, allocations: 11.53 kB / 1.364 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/1.617, allocations: 38.42 kB / 1.364 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/1.617, allocations: 7.75 kB / 1.364 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/1.618, allocations: 176.6 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/1.618, allocations: 6.469 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/1.618, allocations: 3.906 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/1.618, allocations: 61.61 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.618, allocations: 7.984 kB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/1.618, allocations: 0 / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/1.618, allocations: 5.156 kB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/1.618, allocations: 27.47 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/1.618, allocations: 315.5 kB / 1.364 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.909e-05/1.619, allocations: 44.88 kB / 1.364 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/1.619, allocations: 29.23 kB / 1.364 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/1.619, allocations: 0 / 1.364 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/1.619, allocations: 70.81 kB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/1.619, allocations: 0 / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003219/1.619, allocations: 111.1 kB / 1.364 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.619, allocations: 58.91 kB / 1.364 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/1.619, allocations: 119.9 kB / 1.365 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/1.619, allocations: 29.39 kB / 1.365 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/1.619, allocations: 88.67 kB / 1.365 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/1.619, allocations: 15.91 kB / 1.365 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-06/1.619, allocations: 7.469 kB / 1.365 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/1.619, allocations: 317.5 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/1.619, allocations: 16.03 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/1.62, allocations: 53.56 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.45e-05/1.62, allocations: 21.52 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.62, allocations: 0 / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001426/1.62, allocations: 108.5 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.62, allocations: 3.844 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/1.62, allocations: 3.953 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.62, allocations: 0 / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/1.62, allocations: 14.97 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.62, allocations: 11.81 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/1.62, allocations: 5.406 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/1.62, allocations: 5.375 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.p,bli.p,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.951e-05/1.62, allocations: 116.4 kB / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/1.62, allocations: 7.812 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/1.62, allocations: 9.219 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/1.62, allocations: 3.969 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.62, allocations: 0 / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.62, allocations: 5.453 kB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/1.621, allocations: 377.5 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.621, allocations: 0 / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/1.621, allocations: 11.11 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.621, allocations: 0 / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/1.621, allocations: 5.766 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.621, allocations: 3.953 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.621, allocations: 0 / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/1.621, allocations: 190.4 kB / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/1.621, allocations: 88.64 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/1.621, allocations: 13.67 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/1.621, allocations: 5.406 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/1.621, allocations: 9.438 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/1.621, allocations: 5.562 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.998e-05/1.621, allocations: 99.41 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.621, allocations: 0 / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002957/1.621, allocations: 53.06 kB / 1.366 GB, free: 31.86 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007005/1.622, allocations: 0.7943 MB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001379/1.622, allocations: 59.59 kB / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.622, allocations: 4.25 kB / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.733e-05/1.622, allocations: 32.08 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/1.623, allocations: 14.05 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/1.623, allocations: 168 kB / 1.367 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/1.623, allocations: 0.6886 MB / 1.368 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.478e-05/1.623, allocations: 4.031 kB / 1.368 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/1.623, allocations: 24.8 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.623, allocations: 3.938 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/1.638, allocations: 2.582 MB / 1.371 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/1.639, allocations: 238.1 kB / 1.371 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/3.308, allocations: 0 / 1.371 GB, free: 29.87 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat