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.001268/0.001268, allocations: 100 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.001442/0.001442, 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.401/1.401, allocations: 223.2 MB / 239.9 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.612/2.612, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004859, allocations: 16 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9038/0.9044, allocations: 142.3 MB / 0.9536 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001527/0.9059, allocations: 1.199 MB / 0.9548 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.907, allocations: 0.6877 MB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.9071, allocations: 0 / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.9071, allocations: 7.922 kB / 0.9554 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.588e-05/0.9072, allocations: 15.27 kB / 0.9555 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.9076, allocations: 98.64 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.9077, allocations: 55.11 kB / 0.9556 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.9078, allocations: 9.703 kB / 0.9556 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.751e-05/0.9079, allocations: 39.66 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.908, allocations: 37.27 kB / 0.9557 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.908, allocations: 8.156 kB / 0.9557 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.9082, allocations: 71.58 kB / 0.9558 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.9082, allocations: 11.02 kB / 0.9558 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.9083, allocations: 41.27 kB / 0.9558 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.9084, allocations: 106 kB / 0.9559 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.9084, allocations: 3.938 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9084, allocations: 1.188 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.9084, allocations: 0 / 0.9559 GB, free: 6.344 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.0005219/0.909, allocations: 454.2 kB / 0.9563 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.909, allocations: 9.219 kB / 0.9564 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.9091, allocations: 36.81 kB / 0.9564 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.9091, allocations: 8.828 kB / 0.9564 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.9092, allocations: 186.2 kB / 0.9566 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.9093, allocations: 7.625 kB / 0.9566 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.9093, allocations: 5.781 kB / 0.9566 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.9095, allocations: 84.61 kB / 0.9567 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.9095, allocations: 4 kB / 0.9567 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.9096, allocations: 9.562 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.9096, allocations: 0 / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.9097, allocations: 58.27 kB / 0.9567 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.9103, allocations: 320.1 kB / 0.957 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.9104, allocations: 68.33 kB / 0.9571 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.9105, allocations: 1.031 kB / 0.9571 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.9107, allocations: 102.2 kB / 0.9572 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.9107, allocations: 0 / 0.9572 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004815/0.9112, allocations: 196.3 kB / 0.9574 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.9112, allocations: 54.06 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.9113, allocations: 133.7 kB / 0.9576 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.9113, allocations: 31.92 kB / 0.9576 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.9114, allocations: 91 kB / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.9114, allocations: 31.34 kB / 0.9577 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.9114, allocations: 5.062 kB / 0.9577 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.9115, allocations: 321.5 kB / 0.958 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/0.9116, allocations: 25.08 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.9117, allocations: 91.47 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.9118, allocations: 33.88 kB / 0.9582 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.9118, allocations: 1.125 kB / 0.9582 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002468/0.912, allocations: 136 kB / 0.9583 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.9121, allocations: 9.938 kB / 0.9583 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.9121, allocations: 1.25 kB / 0.9583 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.9121, allocations: 10.36 kB / 0.9583 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.423e-05/0.9122, allocations: 24.64 kB / 0.9584 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.9122, allocations: 2.469 kB / 0.9584 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.9123, allocations: 10.09 kB / 0.9584 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.9123, allocations: 8.953 kB / 0.9584 GB, free: 4.051 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.379e-05/0.9124, allocations: 125.3 kB / 0.9585 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.9124, allocations: 6.844 kB / 0.9585 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.9124, allocations: 15.12 kB / 0.9585 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9125, allocations: 5.203 kB / 0.9585 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.9125, allocations: 0 / 0.9585 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.9125, allocations: 0 / 0.9585 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.9129, allocations: 435.5 kB / 0.9589 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9129, allocations: 0 / 0.9589 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.913, allocations: 7.719 kB / 0.9589 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.913, allocations: 4.922 kB / 0.9589 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.913, allocations: 9.703 kB / 0.959 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.913, allocations: 1.562 kB / 0.959 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.913, allocations: 0 / 0.959 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.9134, allocations: 249.2 kB / 0.9592 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.9134, allocations: 91.88 kB / 0.9593 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.9134, allocations: 9.703 kB / 0.9593 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.9135, allocations: 9.312 kB / 0.9593 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.9136, allocations: 10 kB / 0.9593 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.9136, allocations: 3.562 kB / 0.9593 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.908e-05/0.9137, allocations: 98.3 kB / 0.9594 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9137, allocations: 0 / 0.9594 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003263/0.914, allocations: 42.61 kB / 0.9594 GB, free: 3.082 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.0007159/0.9147, allocations: 0.8542 MB / 0.9603 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.915, allocations: 93.64 kB / 0.9604 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.915, allocations: 0 / 0.9604 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.9151, allocations: 57.09 kB / 0.9604 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.9153, allocations: 18.42 kB / 0.9604 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/0.9161, allocations: 1.367 MB / 0.9618 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.9162, allocations: 0.6963 MB / 0.9625 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.9163, allocations: 3.844 kB / 0.9625 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.9163, allocations: 26.33 kB / 0.9625 GB, free: 156 kB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.9163, allocations: 1.469 kB / 0.9625 GB, free: 156 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.9516, allocations: 2.626 MB / 0.9651 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.952, allocations: 254.5 kB / 0.9653 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.695, allocations: 0 / 0.9653 GB, free: 14.64 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