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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.000431, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7836/0.784, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001339/0.7854, allocations: 1.197 MB / 0.955 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000966/0.7864, allocations: 0.6957 MB / 0.9557 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.7864, allocations: 5.344 kB / 0.9557 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.7865, allocations: 0 / 0.9557 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.863e-05/0.7865, allocations: 13.23 kB / 0.9557 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.7869, allocations: 93.14 kB / 0.9558 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.32e-05/0.787, allocations: 65.34 kB / 0.9559 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.564e-05/0.7871, allocations: 9.875 kB / 0.9559 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.733e-05/0.7872, allocations: 32.3 kB / 0.9559 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.7873, allocations: 34.31 kB / 0.9559 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.7873, allocations: 2.938 kB / 0.9559 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.7874, allocations: 81.23 kB / 0.956 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.7875, allocations: 14.95 kB / 0.956 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.7875, allocations: 34.75 kB / 0.9561 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.7876, allocations: 100.8 kB / 0.9562 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7877, allocations: 3.938 kB / 0.9562 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7877, allocations: 4 kB / 0.9562 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.7877, allocations: 1.25 kB / 0.9562 GB, free: 6.262 MB / 0.7169 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.0004268/0.7881, allocations: 435.1 kB / 0.9566 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.7882, allocations: 9.812 kB / 0.9566 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.7882, allocations: 39.48 kB / 0.9566 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.7882, allocations: 12.05 kB / 0.9566 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.59e-05/0.7883, allocations: 173 kB / 0.9568 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.7883, allocations: 6.469 kB / 0.9568 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.7883, allocations: 12.14 kB / 0.9568 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.7885, allocations: 74.8 kB / 0.9569 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.7885, allocations: 1.031 kB / 0.9569 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.7886, allocations: 0 / 0.9569 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.7886, allocations: 1.062 kB / 0.9569 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.7887, allocations: 58.45 kB / 0.957 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.7891, allocations: 291.3 kB / 0.9572 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.7892, allocations: 51.2 kB / 0.9573 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.7893, allocations: 43.47 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.7893, allocations: 0 / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.7895, allocations: 88.89 kB / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.7895, allocations: 0 / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003856/0.7899, allocations: 157.8 kB / 0.9576 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.79, allocations: 57.86 kB / 0.9576 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.077e-05/0.79, allocations: 130.2 kB / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.79, allocations: 27.52 kB / 0.9578 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.7901, allocations: 94.53 kB / 0.9578 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.7901, allocations: 14.97 kB / 0.9579 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.7901, allocations: 8 kB / 0.9579 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.7902, allocations: 322.1 kB / 0.9582 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.7902, allocations: 26.67 kB / 0.9582 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.7903, allocations: 60.02 kB / 0.9583 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.427e-05/0.7904, allocations: 34.83 kB / 0.9583 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7904, allocations: 0 / 0.9583 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000198/0.7906, allocations: 126.1 kB / 0.9584 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7906, allocations: 6.969 kB / 0.9584 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.7906, allocations: 5.422 kB / 0.9584 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7907, allocations: 2.312 kB / 0.9584 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.7908, allocations: 17.83 kB / 0.9584 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.7908, allocations: 2.969 kB / 0.9584 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.7908, allocations: 5.5 kB / 0.9585 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.7908, allocations: 12.77 kB / 0.9585 GB, free: 4.066 MB / 0.7169 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,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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 6.539e-05/0.7909, allocations: 119.8 kB / 0.9586 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.7909, allocations: 7.281 kB / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.791, allocations: 9.438 kB / 0.9586 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.791, allocations: 6.047 kB / 0.9586 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.791, allocations: 0 / 0.9586 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.791, allocations: 0 / 0.9586 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.7914, allocations: 397.7 kB / 0.959 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7914, allocations: 0 / 0.959 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.7914, allocations: 9.719 kB / 0.959 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.7914, allocations: 3.953 kB / 0.959 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.7915, allocations: 1.031 kB / 0.959 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.7915, allocations: 5.203 kB / 0.959 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7915, allocations: 0 / 0.959 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.7917, allocations: 223.4 kB / 0.9592 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.7918, allocations: 91.58 kB / 0.9593 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.7918, allocations: 5.766 kB / 0.9593 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.7919, allocations: 3.094 kB / 0.9593 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.7919, allocations: 10.7 kB / 0.9593 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.7919, allocations: 6.312 kB / 0.9593 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.792, allocations: 100.7 kB / 0.9594 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.792, allocations: 3.938 kB / 0.9594 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003082/0.7923, allocations: 36.33 kB / 0.9595 GB, free: 3.137 MB / 0.7169 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,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked 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.0006084/0.7929, allocations: 0.8156 MB / 0.9603 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.7931, allocations: 77.33 kB / 0.9603 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7931, allocations: 0 / 0.9603 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.291e-05/0.7932, allocations: 39.36 kB / 0.9604 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.7935, allocations: 12.06 kB / 0.9604 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.7944, allocations: 0.6225 MB / 0.961 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.966e-05/0.7945, allocations: 0.6942 MB / 0.9617 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.7945, allocations: 6.719 kB / 0.9617 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.7946, allocations: 22.7 kB / 0.9617 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.7946, allocations: 0 / 0.9617 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.8085, allocations: 2.41 MB / 0.964 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/0.8088, allocations: 255.2 kB / 0.9643 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.745, allocations: 1.219 kB / 0.9643 GB, free: 15.63 MB / 0.7325 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