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.001356/0.001355, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001474/0.001474, allocations: 172.7 kB / 15.95 MB, free: 208 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.464/1.464, allocations: 223.2 MB / 240 MB, free: 5.461 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.304/2.304, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003589, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7885/0.7889, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.00146/0.7904, allocations: 1.202 MB / 0.955 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.7918, allocations: 0.6956 MB / 0.9557 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.475e-05/0.7918, allocations: 1.062 kB / 0.9557 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.7919, allocations: 7.922 kB / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.792, allocations: 10.42 kB / 0.9557 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.7925, allocations: 101.1 kB / 0.9558 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.7927, allocations: 83.38 kB / 0.9559 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.7928, allocations: 14.52 kB / 0.9559 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.032e-05/0.7929, allocations: 32.41 kB / 0.9559 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.793, allocations: 44.7 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.793, allocations: 4.281 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.7932, allocations: 90 kB / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.7933, allocations: 14.38 kB / 0.9561 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.7933, allocations: 45.45 kB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.7935, allocations: 106.8 kB / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7935, allocations: 0 / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.7936, allocations: 0 / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.7936, allocations: 0.7812 kB / 0.9562 GB, free: 6.273 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.0008076/0.7944, allocations: 450.7 kB / 0.9567 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.7945, allocations: 9.281 kB / 0.9567 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.7945, allocations: 35.94 kB / 0.9567 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.7946, allocations: 13.05 kB / 0.9567 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.7947, allocations: 175.1 kB / 0.9569 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.7948, allocations: 11.38 kB / 0.9569 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.7949, allocations: 5.438 kB / 0.9569 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.7952, allocations: 89.19 kB / 0.957 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.7952, allocations: 0 / 0.957 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.7952, allocations: 0 / 0.957 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.7953, allocations: 2 kB / 0.957 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.7955, allocations: 61.38 kB / 0.957 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.7963, allocations: 317.1 kB / 0.9573 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.7966, allocations: 75.64 kB / 0.9574 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.7967, allocations: 47.28 kB / 0.9575 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.7968, allocations: 1.344 kB / 0.9575 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003265/0.7971, allocations: 113.7 kB / 0.9576 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.475e-06/0.7971, allocations: 0 / 0.9576 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0007968/0.798, allocations: 191.9 kB / 0.9578 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.798, allocations: 58.89 kB / 0.9578 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.7981, allocations: 122.2 kB / 0.9579 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.7982, allocations: 36.31 kB / 0.958 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.7982, allocations: 90.81 kB / 0.9581 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.7983, allocations: 23.34 kB / 0.9581 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.7983, allocations: 0 / 0.9581 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.207e-05/0.7984, allocations: 321.6 kB / 0.9584 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.7985, allocations: 31.05 kB / 0.9584 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.7987, allocations: 75.83 kB / 0.9585 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.7989, allocations: 42.48 kB / 0.9585 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7989, allocations: 4 kB / 0.9585 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004394/0.7993, allocations: 136.4 kB / 0.9587 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.7994, allocations: 6.188 kB / 0.9587 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.7994, allocations: 6.047 kB / 0.9587 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.7994, allocations: 2.031 kB / 0.9587 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.7996, allocations: 24.77 kB / 0.9587 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.7996, allocations: 2.969 kB / 0.9587 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.7997, allocations: 13.25 kB / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.7998, allocations: 9.172 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 0.0001038/0.7999, allocations: 121.2 kB / 0.9588 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.7999, allocations: 15.77 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.8, allocations: 9.594 kB / 0.9589 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.8, allocations: 9.172 kB / 0.9589 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.8, allocations: 0 / 0.9589 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.8, allocations: 1.438 kB / 0.9589 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007211/0.8008, allocations: 442.3 kB / 0.9593 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.8008, allocations: 0 / 0.9593 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.8009, allocations: 8.922 kB / 0.9593 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.8009, allocations: 9.297 kB / 0.9593 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.8009, allocations: 1.594 kB / 0.9593 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.8009, allocations: 3.938 kB / 0.9593 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8009, allocations: 0 / 0.9593 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.8015, allocations: 254.4 kB / 0.9596 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.8015, allocations: 91.7 kB / 0.9596 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.8016, allocations: 9.312 kB / 0.9597 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.8018, allocations: 4.125 kB / 0.9597 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.8018, allocations: 8.203 kB / 0.9597 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.8019, allocations: 6.75 kB / 0.9597 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.386e-05/0.8019, allocations: 95.89 kB / 0.9598 GB, free: 3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8019, allocations: 0 / 0.9598 GB, free: 3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005938/0.8025, allocations: 43.61 kB / 0.9598 GB, free: 2.988 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.001193/0.8038, allocations: 0.8509 MB / 0.9606 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.8042, allocations: 97.52 kB / 0.9607 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8042, allocations: 0 / 0.9607 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.8044, allocations: 53.16 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.0004904/0.8049, allocations: 19.98 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.001638/0.8066, allocations: 0.6618 MB / 0.9614 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.8067, allocations: 0.6912 MB / 0.9621 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.294e-05/0.8068, allocations: 7.984 kB / 0.9621 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.8069, allocations: 19 kB / 0.9621 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of SimCode: time 7.01e-07/0.8069, allocations: 0 / 0.9621 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.8254, allocations: 2.632 MB / 0.9647 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003708/0.8258, allocations: 255.4 kB / 0.965 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.971, allocations: 0 / 0.965 GB, free: 15.33 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