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.001158/0.001158, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001429/0.001429, allocations: 168.7 kB / 15.95 MB, free: 204 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.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.41 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.498/2.498, allocations: 390.4 MB / 0.6655 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6249/0.6253, allocations: 142.3 MB / 0.9538 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001343/0.6267, allocations: 1.175 MB / 0.955 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000586/0.6273, allocations: 425.4 kB / 0.9554 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.6274, allocations: 0 / 0.9554 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.6274, allocations: 7.922 kB / 0.9554 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.6274, allocations: 5.312 kB / 0.9554 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.6276, allocations: 25.06 kB / 0.9554 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.51e-05/0.6277, allocations: 45.33 kB / 0.9555 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.919e-05/0.6278, allocations: 13.3 kB / 0.9555 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.809e-05/0.6279, allocations: 16.77 kB / 0.9555 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.6279, allocations: 17.58 kB / 0.9555 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.6279, allocations: 2.469 kB / 0.9555 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.628, allocations: 1.406 kB / 0.9555 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.628, allocations: 6.469 kB / 0.9555 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.628, allocations: 41.5 kB / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.674e-05/0.6281, allocations: 33.91 kB / 0.9556 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6281, allocations: 1.094 kB / 0.9556 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6281, allocations: 0 / 0.9556 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.6281, allocations: 0 / 0.9556 GB, free: 6.695 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.0003521/0.6285, allocations: 407.4 kB / 0.956 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.6285, allocations: 10.19 kB / 0.956 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.658e-05/0.6285, allocations: 35.78 kB / 0.956 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.6286, allocations: 10.2 kB / 0.956 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.872e-05/0.6286, allocations: 178.1 kB / 0.9562 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.6287, allocations: 1.125 kB / 0.9562 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.6287, allocations: 3.031 kB / 0.9562 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.6288, allocations: 66.17 kB / 0.9563 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.6288, allocations: 0 / 0.9563 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.6289, allocations: 1.219 kB / 0.9563 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.6289, allocations: 0 / 0.9563 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.629, allocations: 51.11 kB / 0.9563 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.6293, allocations: 275.3 kB / 0.9566 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.544e-05/0.6294, allocations: 47.78 kB / 0.9566 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.335e-05/0.6295, allocations: 30.5 kB / 0.9567 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.6295, allocations: 1.375 kB / 0.9567 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.6297, allocations: 83.17 kB / 0.9568 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.6297, allocations: 1.156 kB / 0.9568 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003146/0.63, allocations: 126.7 kB / 0.9569 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.63, allocations: 60.53 kB / 0.9569 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.371e-05/0.6301, allocations: 109.7 kB / 0.957 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.6301, allocations: 31.17 kB / 0.9571 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.6301, allocations: 93.92 kB / 0.9572 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.6302, allocations: 14.38 kB / 0.9572 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.6302, allocations: 0 / 0.9572 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.203e-05/0.6302, allocations: 320.5 kB / 0.9575 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.6303, allocations: 20.3 kB / 0.9575 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.6304, allocations: 46.94 kB / 0.9575 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.6304, allocations: 26.67 kB / 0.9576 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6304, allocations: 0.9375 kB / 0.9576 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001652/0.6306, allocations: 98.77 kB / 0.9577 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.6306, allocations: 9.594 kB / 0.9577 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.6306, allocations: 5.453 kB / 0.9577 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.6306, allocations: 1.812 kB / 0.9577 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.6307, allocations: 11.67 kB / 0.9577 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6307, allocations: 5.156 kB / 0.9577 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.6308, allocations: 13.42 kB / 0.9577 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.6308, allocations: 6.844 kB / 0.9577 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 5.04e-05/0.6309, allocations: 122 kB / 0.9578 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.6309, allocations: 2.906 kB / 0.9578 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.6309, allocations: 9.469 kB / 0.9578 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6309, allocations: 3.953 kB / 0.9578 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.6309, allocations: 0 / 0.9578 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.6309, allocations: 1.156 kB / 0.9578 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.6312, allocations: 351.8 kB / 0.9582 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6312, allocations: 1.219 kB / 0.9582 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.6313, allocations: 9.203 kB / 0.9582 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6313, allocations: 3.953 kB / 0.9582 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.6313, allocations: 4 kB / 0.9582 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6313, allocations: 0 / 0.9582 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6313, allocations: 1.219 kB / 0.9582 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.6315, allocations: 188.9 kB / 0.9584 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.6315, allocations: 83.11 kB / 0.9585 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.6315, allocations: 5.078 kB / 0.9585 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.6316, allocations: 14.14 kB / 0.9585 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.6317, allocations: 13.97 kB / 0.9585 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.6317, allocations: 5.922 kB / 0.9585 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.842e-05/0.6317, allocations: 87.44 kB / 0.9586 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6317, allocations: 0 / 0.9586 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002209/0.6319, allocations: 7.625 kB / 0.9586 GB, free: 3.77 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.0003493/0.6323, allocations: 0.7248 MB / 0.9593 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.6325, allocations: 64 kB / 0.9594 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6325, allocations: 0 / 0.9594 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.185e-05/0.6326, allocations: 33.42 kB / 0.9594 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.6328, allocations: 18.44 kB / 0.9594 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006871/0.6335, allocations: 0.5298 MB / 0.9599 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.188e-05/0.6336, allocations: 0.6857 MB / 0.9606 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.6336, allocations: 6.562 kB / 0.9606 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.6337, allocations: 14.12 kB / 0.9606 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6337, allocations: 0 / 0.9606 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.6459, allocations: 1.361 MB / 0.9619 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.6461, allocations: 214.6 kB / 0.9621 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.434, allocations: 2.25 kB / 0.9621 GB, free: 1.027 MB / 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