Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.001175/0.001175, 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.001297/0.001297, 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.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.344 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.487/2.487, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004108, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7049/0.7053, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001826/0.7072, allocations: 1.189 MB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.7085, allocations: 0.6865 MB / 0.9554 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.7086, allocations: 0 / 0.9554 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.7087, allocations: 3.938 kB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.61e-05/0.7088, allocations: 14.34 kB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.7094, allocations: 98.94 kB / 0.9555 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.7095, allocations: 39.58 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.7096, allocations: 14.23 kB / 0.9556 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.7097, allocations: 28.53 kB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.7098, allocations: 29.66 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.7098, allocations: 7.094 kB / 0.9556 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.71, allocations: 70.89 kB / 0.9557 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.71, allocations: 15.58 kB / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.7101, allocations: 35.14 kB / 0.9558 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.7103, allocations: 95.44 kB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.7103, allocations: 5.094 kB / 0.9559 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7103, allocations: 3.938 kB / 0.9559 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.7103, allocations: 0 / 0.9559 GB, free: 6.328 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.0005621/0.7109, allocations: 439.2 kB / 0.9563 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.7109, allocations: 9.156 kB / 0.9563 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.711, allocations: 36.69 kB / 0.9563 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.711, allocations: 11.3 kB / 0.9563 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.7111, allocations: 175.5 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.7111, allocations: 2.188 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.7112, allocations: 8.25 kB / 0.9565 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.7114, allocations: 67.19 kB / 0.9566 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7114, allocations: 4 kB / 0.9566 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.7114, allocations: 1.125 kB / 0.9566 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.7114, allocations: 1.312 kB / 0.9566 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.7116, allocations: 57.84 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.7121, allocations: 298.7 kB / 0.9569 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.7122, allocations: 51 kB / 0.957 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.7122, allocations: 1.375 kB / 0.957 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.7124, allocations: 84.28 kB / 0.9571 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.7124, allocations: 0 / 0.9571 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004085/0.7128, allocations: 158 kB / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.7129, allocations: 61.52 kB / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.713, allocations: 130.3 kB / 0.9574 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.713, allocations: 35.33 kB / 0.9574 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.7131, allocations: 94.75 kB / 0.9575 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.7131, allocations: 14.59 kB / 0.9575 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.7131, allocations: 4 kB / 0.9575 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.7132, allocations: 320.9 kB / 0.9578 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.7133, allocations: 27.36 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.221e-05/0.7134, allocations: 71.67 kB / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.455e-05/0.7134, allocations: 30.89 kB / 0.958 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7135, allocations: 4 kB / 0.958 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002253/0.7137, allocations: 122.4 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7137, allocations: 5.688 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7137, allocations: 0.9688 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.7138, allocations: 6.828 kB / 0.9581 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.7139, allocations: 22.08 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.7139, allocations: 2.125 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.7139, allocations: 6.531 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.714, allocations: 7.766 kB / 0.9581 GB, free: 4.152 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.p,bli.p,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 8.073e-05/0.7141, allocations: 120.9 kB / 0.9582 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.7141, allocations: 5.312 kB / 0.9582 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.7141, allocations: 5.906 kB / 0.9583 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.7141, allocations: 5.547 kB / 0.9583 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7141, allocations: 4 kB / 0.9583 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7141, allocations: 1.281 kB / 0.9583 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.7146, allocations: 397.2 kB / 0.9586 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.7146, allocations: 3.984 kB / 0.9586 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/0.7146, allocations: 4.469 kB / 0.9587 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.7147, allocations: 9.297 kB / 0.9587 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.7147, allocations: 5.156 kB / 0.9587 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.7147, allocations: 0 / 0.9587 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7147, allocations: 5.172 kB / 0.9587 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.715, allocations: 215.1 kB / 0.9589 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.715, allocations: 86.73 kB / 0.959 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.715, allocations: 13.73 kB / 0.959 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.7151, allocations: 3.594 kB / 0.959 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.7152, allocations: 7.547 kB / 0.959 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.7152, allocations: 1.812 kB / 0.959 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.7152, allocations: 97.3 kB / 0.9591 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7152, allocations: 0 / 0.9591 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003443/0.7156, allocations: 41.17 kB / 0.9591 GB, free: 3.227 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.p,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.0007668/0.7164, allocations: 0.8198 MB / 0.9599 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.7166, allocations: 74.17 kB / 0.96 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7166, allocations: 0 / 0.96 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.7167, allocations: 35.3 kB / 0.96 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.717, allocations: 23.56 kB / 0.96 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/0.7177, allocations: 1.187 MB / 0.9612 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.7178, allocations: 0.6958 MB / 0.9619 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.81e-05/0.7179, allocations: 7.594 kB / 0.9619 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.7179, allocations: 22.73 kB / 0.9619 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7179, allocations: 0 / 0.9619 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.7322, allocations: 2.393 MB / 0.9642 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.7324, allocations: 247.2 kB / 0.9645 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.493, allocations: 5.125 kB / 0.9645 GB, free: 15.05 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat