Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.0009556/0.0009555, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009683/0.0009682, allocations: 177.3 kB / 15.94 MB, free: 228 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.39/1.39, allocations: 223.2 MB / 239.9 MB, free: 5.312 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.443/2.443, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8012/0.8016, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.00187/0.8035, allocations: 1.198 MB / 0.9548 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.805, allocations: 0.6916 MB / 0.9554 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.8051, allocations: 3.938 kB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.8051, allocations: 1.375 kB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.883e-05/0.8052, allocations: 17.31 kB / 0.9555 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.8058, allocations: 104.2 kB / 0.9556 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.8059, allocations: 53.84 kB / 0.9556 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.806, allocations: 10.02 kB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.8061, allocations: 40.42 kB / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.8062, allocations: 41.05 kB / 0.9557 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.8062, allocations: 8.625 kB / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.8064, allocations: 62.44 kB / 0.9558 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.8065, allocations: 23.59 kB / 0.9558 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.8065, allocations: 41.78 kB / 0.9558 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.8067, allocations: 106.2 kB / 0.9559 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.8067, allocations: 3.938 kB / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8067, allocations: 0 / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.8067, allocations: 1.25 kB / 0.9559 GB, free: 6.277 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.0005844/0.8073, allocations: 449.9 kB / 0.9564 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.8074, allocations: 13.44 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.8074, allocations: 35.89 kB / 0.9564 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.8075, allocations: 9.672 kB / 0.9564 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.8076, allocations: 171.3 kB / 0.9566 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.8076, allocations: 6.812 kB / 0.9566 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.8077, allocations: 4.688 kB / 0.9566 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.8079, allocations: 92.97 kB / 0.9567 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.8079, allocations: 0 / 0.9567 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.8079, allocations: 1.344 kB / 0.9567 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.808, allocations: 5.312 kB / 0.9567 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.8081, allocations: 53.89 kB / 0.9567 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.8086, allocations: 320.3 kB / 0.957 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.8088, allocations: 71.84 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.8089, allocations: 5.172 kB / 0.9571 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.8091, allocations: 89.17 kB / 0.9572 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.8091, allocations: 0 / 0.9572 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005103/0.8096, allocations: 208.8 kB / 0.9574 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.8097, allocations: 58.55 kB / 0.9575 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.8098, allocations: 129.2 kB / 0.9576 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.8098, allocations: 30.55 kB / 0.9576 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.8099, allocations: 96.09 kB / 0.9577 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.8099, allocations: 26.52 kB / 0.9577 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.8099, allocations: 1.406 kB / 0.9577 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.81, allocations: 317.4 kB / 0.958 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.928e-05/0.8101, allocations: 38.84 kB / 0.9581 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.8102, allocations: 75.81 kB / 0.9581 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.8103, allocations: 37.58 kB / 0.9582 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8103, allocations: 0 / 0.9582 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002776/0.8106, allocations: 145.8 kB / 0.9583 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.8106, allocations: 6.625 kB / 0.9583 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8107, allocations: 1.812 kB / 0.9583 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8107, allocations: 5.734 kB / 0.9583 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.8108, allocations: 17.05 kB / 0.9583 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.8108, allocations: 6.812 kB / 0.9583 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.8109, allocations: 17.09 kB / 0.9584 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.8109, allocations: 5.156 kB / 0.9584 GB, free: 4 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 9.216e-05/0.811, allocations: 124.5 kB / 0.9585 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.811, allocations: 7.719 kB / 0.9585 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.8111, allocations: 7.125 kB / 0.9585 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.8111, allocations: 8.031 kB / 0.9585 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8111, allocations: 5.5 kB / 0.9585 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8111, allocations: 0 / 0.9585 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.8117, allocations: 434.6 kB / 0.9589 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8117, allocations: 0 / 0.9589 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.8117, allocations: 8.203 kB / 0.9589 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.8118, allocations: 13.2 kB / 0.9589 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.8118, allocations: 5.312 kB / 0.959 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.8118, allocations: 1.156 kB / 0.959 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.8118, allocations: 3.984 kB / 0.959 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.8122, allocations: 254.7 kB / 0.9592 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.8122, allocations: 91.12 kB / 0.9593 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.8123, allocations: 9.203 kB / 0.9593 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.8124, allocations: 4.5 kB / 0.9593 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.8124, allocations: 7.266 kB / 0.9593 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.8125, allocations: 6.812 kB / 0.9593 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.8125, allocations: 94.2 kB / 0.9594 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8125, allocations: 0 / 0.9594 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003554/0.8129, allocations: 42.89 kB / 0.9594 GB, free: 3.027 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.0008409/0.8137, allocations: 0.8439 MB / 0.9603 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.814, allocations: 104.7 kB / 0.9604 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.814, allocations: 0 / 0.9604 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.8142, allocations: 53.42 kB / 0.9604 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.8144, allocations: 16.39 kB / 0.9604 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009351/0.8153, allocations: 1.359 MB / 0.9618 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.8155, allocations: 0.6957 MB / 0.9624 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.468e-05/0.8156, allocations: 4.125 kB / 0.9624 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.8156, allocations: 23.55 kB / 0.9625 GB, free: 116 kB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.8156, allocations: 0 / 0.9625 GB, free: 116 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.8304, allocations: 2.623 MB / 0.965 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.8307, allocations: 245.3 kB / 0.9653 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.622, allocations: 1.188 kB / 0.9653 GB, free: 14.62 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat does not exist to compare? outputFormat=mat