Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.001022/0.001022, allocations: 84.38 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.001241/0.001241, 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.5/1.5, allocations: 223.2 MB / 240 MB, free: 5.434 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.545/2.545, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003047, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.7863, allocations: 142.3 MB / 0.9539 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001502/0.7879, allocations: 1.189 MB / 0.955 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000992/0.7889, allocations: 0.668 MB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.7889, allocations: 1.219 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.789, allocations: 0 / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.789, allocations: 18.23 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.7895, allocations: 99.33 kB / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.222e-05/0.7896, allocations: 61.38 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.885e-05/0.7897, allocations: 8.328 kB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.7897, allocations: 25.42 kB / 0.9559 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.7898, allocations: 36.98 kB / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.7898, allocations: 11.88 kB / 0.9559 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.79, allocations: 80.06 kB / 0.956 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.79, allocations: 13.95 kB / 0.956 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.7901, allocations: 36.55 kB / 0.956 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.7903, allocations: 86.94 kB / 0.9561 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.7903, allocations: 1.031 kB / 0.9561 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7903, allocations: 0 / 0.9561 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.7903, allocations: 0 / 0.9561 GB, free: 6.418 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.0005339/0.7908, allocations: 455 kB / 0.9566 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.7909, allocations: 10 kB / 0.9566 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.7909, allocations: 31.72 kB / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.791, allocations: 11.2 kB / 0.9566 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/0.7911, allocations: 170.8 kB / 0.9568 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.7911, allocations: 6.344 kB / 0.9568 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.7911, allocations: 4.312 kB / 0.9568 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.7913, allocations: 66.56 kB / 0.9568 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7913, allocations: 4 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.7914, allocations: 5.125 kB / 0.9569 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.7914, allocations: 3.953 kB / 0.9569 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.7915, allocations: 46.59 kB / 0.9569 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.792, allocations: 304.9 kB / 0.9572 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.7921, allocations: 47.97 kB / 0.9572 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.7922, allocations: 34.16 kB / 0.9573 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.7923, allocations: 1.062 kB / 0.9573 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.7925, allocations: 92.08 kB / 0.9574 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.7925, allocations: 0 / 0.9574 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004131/0.7929, allocations: 142.7 kB / 0.9575 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.793, allocations: 58.09 kB / 0.9576 GB, free: 5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.979e-05/0.793, allocations: 116.4 kB / 0.9577 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.7931, allocations: 34.88 kB / 0.9577 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.7931, allocations: 86.89 kB / 0.9578 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.7931, allocations: 18.16 kB / 0.9578 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.7932, allocations: 1.406 kB / 0.9578 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.7932, allocations: 320.3 kB / 0.9581 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.7933, allocations: 30.83 kB / 0.9581 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.7934, allocations: 64.05 kB / 0.9582 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.069e-05/0.7935, allocations: 35.77 kB / 0.9582 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7935, allocations: 0 / 0.9582 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002058/0.7937, allocations: 117.8 kB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.7937, allocations: 8.609 kB / 0.9583 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.7937, allocations: 7.406 kB / 0.9584 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.7938, allocations: 1.125 kB / 0.9584 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.7939, allocations: 21.83 kB / 0.9584 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.7939, allocations: 3.094 kB / 0.9584 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.7939, allocations: 18.02 kB / 0.9584 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.794, allocations: 6.906 kB / 0.9584 GB, free: 4.23 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.pDown,bli.pDown,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 7.875e-05/0.794, allocations: 114.9 kB / 0.9585 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.7941, allocations: 12.03 kB / 0.9585 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.7941, allocations: 13.86 kB / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.7941, allocations: 0 / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7941, allocations: 1.25 kB / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.7941, allocations: 0 / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.7945, allocations: 378.8 kB / 0.9589 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7945, allocations: 8.953 kB / 0.9589 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.7945, allocations: 8.391 kB / 0.9589 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7945, allocations: 0 / 0.9589 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7946, allocations: 1.438 kB / 0.9589 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7946, allocations: 0 / 0.9589 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7946, allocations: 1.438 kB / 0.9589 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.7948, allocations: 220.7 kB / 0.9591 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.7948, allocations: 86.73 kB / 0.9592 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.7949, allocations: 5.766 kB / 0.9592 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.7949, allocations: 7.578 kB / 0.9592 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.795, allocations: 4.312 kB / 0.9592 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.795, allocations: 6.203 kB / 0.9592 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.795, allocations: 98.95 kB / 0.9593 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.795, allocations: 1.312 kB / 0.9593 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003142/0.7954, allocations: 40.28 kB / 0.9594 GB, free: 3.32 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.pDown,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.0006332/0.796, allocations: 0.8118 MB / 0.9602 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.7962, allocations: 69.28 kB / 0.9602 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7962, allocations: 0 / 0.9602 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.7964, allocations: 46.52 kB / 0.9603 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.7966, allocations: 18.48 kB / 0.9603 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/0.7976, allocations: 0.6086 MB / 0.9609 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.7978, allocations: 0.6849 MB / 0.9616 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.7978, allocations: 11.52 kB / 0.9616 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.7978, allocations: 17.66 kB / 0.9616 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.7978, allocations: 0 / 0.9616 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.8097, allocations: 2.314 MB / 0.9638 GB, free: 192 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.8099, allocations: 242.2 kB / 0.9641 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.741, allocations: 0 / 0.9641 GB, free: 15.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat does not exist to compare? outputFormat=mat