Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.0009261/0.0009262, allocations: 99.86 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.001021/0.001021, 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.356/1.356, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.426/2.426, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004332, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7386, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001644/0.7403, allocations: 1.16 MB / 0.9547 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.7411, allocations: 430.9 kB / 0.9551 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.7411, allocations: 3.938 kB / 0.9551 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.7411, allocations: 0 / 0.9551 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.835e-05/0.7412, allocations: 9.484 kB / 0.9551 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.7414, allocations: 17.52 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.7415, allocations: 34.95 kB / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.7416, allocations: 12.64 kB / 0.9552 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.7417, allocations: 16.97 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/0.7418, allocations: 25.64 kB / 0.9553 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.7418, allocations: 1.812 kB / 0.9553 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.7418, allocations: 2.031 kB / 0.9553 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.7419, allocations: 6 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.7419, allocations: 33.83 kB / 0.9553 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.551e-05/0.742, allocations: 30.03 kB / 0.9553 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.742, allocations: 1.156 kB / 0.9553 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.956e-06/0.742, allocations: 4 kB / 0.9553 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.742, allocations: 0 / 0.9553 GB, free: 6.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000475/0.7425, allocations: 405.5 kB / 0.9557 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.7425, allocations: 10.25 kB / 0.9557 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.7426, allocations: 34.56 kB / 0.9558 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.7426, allocations: 6.422 kB / 0.9558 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.098e-05/0.7427, allocations: 171.1 kB / 0.9559 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.7428, allocations: 2.25 kB / 0.9559 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.7428, allocations: 9.594 kB / 0.9559 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.743, allocations: 65.47 kB / 0.956 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.743, allocations: 1.094 kB / 0.956 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.743, allocations: 0 / 0.956 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.743, allocations: 1.406 kB / 0.956 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.7431, allocations: 53.62 kB / 0.9561 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.7436, allocations: 275.5 kB / 0.9563 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.7437, allocations: 52.11 kB / 0.9564 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.7437, allocations: 5.375 kB / 0.9564 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.7439, allocations: 67.7 kB / 0.9564 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.7439, allocations: 0 / 0.9564 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000373/0.7443, allocations: 139.3 kB / 0.9566 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.7444, allocations: 52.5 kB / 0.9566 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.7444, allocations: 122.1 kB / 0.9567 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.7445, allocations: 26.7 kB / 0.9568 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.7445, allocations: 90.2 kB / 0.9568 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.7445, allocations: 17.69 kB / 0.9569 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/0.7445, allocations: 1 kB / 0.9569 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/0.7446, allocations: 320.3 kB / 0.9572 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.7447, allocations: 16.33 kB / 0.9572 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.7448, allocations: 58.27 kB / 0.9572 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.891e-05/0.7448, allocations: 19.72 kB / 0.9573 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7448, allocations: 0 / 0.9573 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001815/0.745, allocations: 98.78 kB / 0.9574 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.745, allocations: 5.406 kB / 0.9574 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.7451, allocations: 1.125 kB / 0.9574 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.7451, allocations: 6.109 kB / 0.9574 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.7452, allocations: 15.56 kB / 0.9574 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.7452, allocations: 5.359 kB / 0.9574 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.7452, allocations: 13.84 kB / 0.9574 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.7453, allocations: 1.844 kB / 0.9574 GB, free: 4.633 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.bli.blindState,bli.blindState,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 (7): * Single equations (assignments): 7 * 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 7.115e-05/0.7453, allocations: 114.6 kB / 0.9575 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.7454, allocations: 2.281 kB / 0.9575 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.7454, allocations: 9.406 kB / 0.9575 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.7454, allocations: 5.109 kB / 0.9575 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7454, allocations: 3.984 kB / 0.9575 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7454, allocations: 1.188 kB / 0.9575 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.7458, allocations: 360.4 kB / 0.9579 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7458, allocations: 0 / 0.9579 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.7458, allocations: 4.594 kB / 0.9579 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.7458, allocations: 7.953 kB / 0.9579 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.7458, allocations: 0.9688 kB / 0.9579 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.7459, allocations: 1 kB / 0.9579 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7459, allocations: 0 / 0.9579 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.7461, allocations: 201.2 kB / 0.9581 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.7461, allocations: 82.61 kB / 0.9582 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.7462, allocations: 5.359 kB / 0.9582 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.7463, allocations: 6.75 kB / 0.9582 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.7463, allocations: 10.23 kB / 0.9582 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.7463, allocations: 5.094 kB / 0.9582 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.7464, allocations: 91.36 kB / 0.9583 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7464, allocations: 0 / 0.9583 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002319/0.7466, allocations: 16.47 kB / 0.9583 GB, free: 3.758 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: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004246/0.747, allocations: 0.721 MB / 0.959 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.7472, allocations: 57.94 kB / 0.959 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.7473, allocations: 1.406 kB / 0.959 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.7474, allocations: 41.56 kB / 0.9591 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.7476, allocations: 8.141 kB / 0.9591 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/0.7482, allocations: 0.9906 MB / 0.9601 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.7484, allocations: 0.6955 MB / 0.9607 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.7485, allocations: 5.781 kB / 0.9607 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.7485, allocations: 14.88 kB / 0.9608 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7485, allocations: 0 / 0.9608 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.7779, allocations: 1.348 MB / 0.9621 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.7782, allocations: 207.8 kB / 0.9623 GB, free: 488 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.496, allocations: 0 / 0.9623 GB, free: 488 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat