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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009611/0.0009611, 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.001173/0.001174, 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.421/1.421, allocations: 223.3 MB / 240 MB, free: 5.438 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.369/2.369, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.695/0.6953, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001776/0.6972, allocations: 1.206 MB / 0.955 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.6985, allocations: 0.6963 MB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.6985, allocations: 1 kB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.6986, allocations: 3.938 kB / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.405e-05/0.6987, allocations: 9.703 kB / 0.9557 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.6992, allocations: 105.9 kB / 0.9558 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.6993, allocations: 80.2 kB / 0.9559 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.6995, allocations: 9.312 kB / 0.9559 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.6996, allocations: 39.95 kB / 0.9559 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.57e-05/0.6997, allocations: 36.66 kB / 0.956 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.6997, allocations: 4.188 kB / 0.956 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.6999, allocations: 85.09 kB / 0.9561 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.6999, allocations: 20.08 kB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.7, allocations: 40.67 kB / 0.9561 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.7002, allocations: 111.4 kB / 0.9562 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.7002, allocations: 3.984 kB / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7002, allocations: 3.938 kB / 0.9562 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7002, allocations: 0 / 0.9562 GB, free: 6.27 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005184/0.7007, allocations: 443.3 kB / 0.9567 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.7008, allocations: 13.28 kB / 0.9567 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.7008, allocations: 39.69 kB / 0.9567 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.7009, allocations: 8.797 kB / 0.9567 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.375e-05/0.701, allocations: 179.2 kB / 0.9569 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.701, allocations: 7.656 kB / 0.9569 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.701, allocations: 5.406 kB / 0.9569 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.7013, allocations: 92.34 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.7013, allocations: 0 / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.7013, allocations: 9.047 kB / 0.957 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.7013, allocations: 5.219 kB / 0.957 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.7015, allocations: 54.23 kB / 0.9571 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.702, allocations: 316.8 kB / 0.9574 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.7021, allocations: 71.55 kB / 0.9574 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.7023, allocations: 46.66 kB / 0.9575 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.7023, allocations: 5.016 kB / 0.9575 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.7025, allocations: 103 kB / 0.9576 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.7025, allocations: 0 / 0.9576 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005037/0.703, allocations: 191.5 kB / 0.9578 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.7031, allocations: 58.62 kB / 0.9578 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.7032, allocations: 131.8 kB / 0.9579 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.7032, allocations: 27.05 kB / 0.958 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.7032, allocations: 90.97 kB / 0.958 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.7033, allocations: 32.38 kB / 0.9581 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.7033, allocations: 3.938 kB / 0.9581 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.7033, allocations: 318.3 kB / 0.9584 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.7034, allocations: 33.94 kB / 0.9584 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.98e-05/0.7035, allocations: 74.14 kB / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.958e-05/0.7036, allocations: 41.08 kB / 0.9585 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7036, allocations: 0 / 0.9585 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002482/0.7039, allocations: 140.5 kB / 0.9587 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7039, allocations: 6.25 kB / 0.9587 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.7039, allocations: 9.734 kB / 0.9587 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.7039, allocations: 2.562 kB / 0.9587 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.704, allocations: 20.36 kB / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.7041, allocations: 6.469 kB / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.7041, allocations: 10.56 kB / 0.9587 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.7041, allocations: 4.438 kB / 0.9587 GB, free: 3.965 MB / 0.7169 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,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 (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 8.253e-05/0.7042, allocations: 131.2 kB / 0.9588 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.7043, allocations: 11.59 kB / 0.9589 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.7043, allocations: 10.25 kB / 0.9589 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7043, allocations: 3.953 kB / 0.9589 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7043, allocations: 0 / 0.9589 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7043, allocations: 1.656 kB / 0.9589 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.7048, allocations: 429.8 kB / 0.9593 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7048, allocations: 4 kB / 0.9593 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.7049, allocations: 13.42 kB / 0.9593 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.7049, allocations: 3.953 kB / 0.9593 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.7049, allocations: 5.375 kB / 0.9593 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7049, allocations: 1.375 kB / 0.9593 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7049, allocations: 0 / 0.9593 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.7052, allocations: 253.6 kB / 0.9595 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.7053, allocations: 87.89 kB / 0.9596 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.7053, allocations: 9.406 kB / 0.9596 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.7054, allocations: 13.44 kB / 0.9597 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.7054, allocations: 10.72 kB / 0.9597 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.7055, allocations: 2.75 kB / 0.9597 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.7055, allocations: 97.64 kB / 0.9598 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7055, allocations: 0 / 0.9598 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003306/0.7059, allocations: 51.45 kB / 0.9598 GB, free: 2.984 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,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.0007677/0.7066, allocations: 0.8451 MB / 0.9606 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.7069, allocations: 96.77 kB / 0.9607 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7069, allocations: 1.062 kB / 0.9607 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.707, allocations: 52.67 kB / 0.9608 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.7073, allocations: 20.58 kB / 0.9608 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.7084, allocations: 0.6753 MB / 0.9615 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.7085, allocations: 0.6913 MB / 0.9621 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.7085, allocations: 3.75 kB / 0.9621 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.7086, allocations: 26.86 kB / 0.9622 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7086, allocations: 0.9688 kB / 0.9622 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.7235, allocations: 2.644 MB / 0.9647 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.7237, allocations: 253.9 kB / 0.965 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.55, allocations: 1 kB / 0.965 GB, free: 15.31 MB / 0.7325 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