Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_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.001292/0.001292, allocations: 91.38 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.001481/0.001481, 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.413/1.413, allocations: 223.2 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.57/2.57, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003935, allocations: 8 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8022, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002375/0.8046, allocations: 1.167 MB / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009416/0.8056, allocations: 423.3 kB / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.8057, allocations: 0 / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.8057, allocations: 0 / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.932e-05/0.8058, allocations: 11.91 kB / 0.9827 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.8061, allocations: 23.92 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.8063, allocations: 43.86 kB / 0.9828 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.8064, allocations: 11.98 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.8065, allocations: 19.92 kB / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.8066, allocations: 19.92 kB / 0.9828 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.8067, allocations: 3.938 kB / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.8067, allocations: 7.938 kB / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.8067, allocations: 3.984 kB / 0.9828 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.8068, allocations: 33.7 kB / 0.9829 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.707e-05/0.8069, allocations: 34.19 kB / 0.9829 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.8069, allocations: 4 kB / 0.9829 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8069, allocations: 0 / 0.9829 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8069, allocations: 0 / 0.9829 GB, free: 4.434 MB / 0.7325 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.000675/0.8076, allocations: 402.6 kB / 0.9833 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.8077, allocations: 15.97 kB / 0.9833 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.85e-05/0.8077, allocations: 30.56 kB / 0.9833 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.8078, allocations: 7.906 kB / 0.9833 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.8079, allocations: 167 kB / 0.9835 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.808, allocations: 8 kB / 0.9835 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.808, allocations: 4 kB / 0.9835 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.8082, allocations: 69.61 kB / 0.9836 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.8083, allocations: 0 / 0.9836 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.8083, allocations: 4 kB / 0.9836 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.8083, allocations: 0 / 0.9836 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.8084, allocations: 47.91 kB / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.8089, allocations: 269 kB / 0.9839 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.8091, allocations: 54.44 kB / 0.9839 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/0.8092, allocations: 32.94 kB / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.8092, allocations: 0 / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.8094, allocations: 83.33 kB / 0.984 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.8094, allocations: 4 kB / 0.984 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003917/0.8098, allocations: 121.5 kB / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.8099, allocations: 55.39 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.81, allocations: 118 kB / 0.9843 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.81, allocations: 29.7 kB / 0.9843 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.8101, allocations: 84.14 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.8101, allocations: 15.75 kB / 0.9844 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.8101, allocations: 4 kB / 0.9844 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8103, allocations: 314.8 kB / 0.9847 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.862e-05/0.8104, allocations: 23.92 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.565e-05/0.8105, allocations: 56.27 kB / 0.9848 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.573e-05/0.8106, allocations: 31.92 kB / 0.9848 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.8106, allocations: 0 / 0.9848 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000233/0.8108, allocations: 101.4 kB / 0.9849 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8108, allocations: 5.406 kB / 0.985 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.8109, allocations: 4 kB / 0.985 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.8109, allocations: 160 / 0.985 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.811, allocations: 15.98 kB / 0.985 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.811, allocations: 0 / 0.985 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.016e-05/0.811, allocations: 8 kB / 0.985 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.8111, allocations: 4 kB / 0.985 GB, free: 2.031 MB / 0.7325 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 0.0001056/0.8112, allocations: 113.8 kB / 0.9851 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.8112, allocations: 11.95 kB / 0.9851 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.8112, allocations: 7.953 kB / 0.9851 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.8113, allocations: 8.375 kB / 0.9851 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8113, allocations: 0 / 0.9851 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8113, allocations: 0 / 0.9851 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.8118, allocations: 358.4 kB / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8118, allocations: 3.938 kB / 0.9855 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.8118, allocations: 15.94 kB / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.8118, allocations: 0 / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.8119, allocations: 3.984 kB / 0.9855 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8119, allocations: 0 / 0.9855 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.8119, allocations: 0 / 0.9855 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.8122, allocations: 195.8 kB / 0.9857 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.8123, allocations: 81.02 kB / 0.9857 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.8123, allocations: 4.062 kB / 0.9857 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.8124, allocations: 15.98 kB / 0.9858 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.8125, allocations: 0 / 0.9858 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.8125, allocations: 4 kB / 0.9858 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.16e-05/0.8126, allocations: 95.27 kB / 0.9859 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8126, allocations: 0 / 0.9859 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002521/0.8129, allocations: 8 kB / 0.9859 GB, free: 1.023 MB / 0.7325 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.0007905/0.8137, allocations: 0.7318 MB / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.8139, allocations: 63.89 kB / 0.9866 GB, free: 204 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8139, allocations: 320 / 0.9866 GB, free: 204 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.814, allocations: 35.98 kB / 0.9867 GB, free: 168 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.8143, allocations: 9.766 kB / 0.9867 GB, free: 160 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.8154, allocations: 0.5305 MB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.8158, allocations: 0.6809 MB / 0.9879 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.175e-05/0.8158, allocations: 7.984 kB / 0.9879 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.8159, allocations: 15.44 kB / 0.9879 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.8159, allocations: 4 kB / 0.9879 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.8311, allocations: 1.355 MB / 0.9892 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/0.8314, allocations: 230.7 kB / 0.9894 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.605, allocations: 0 / 0.9894 GB, free: 13.42 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat