Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_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.001054/0.001054, allocations: 99.16 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.00126/0.00126, 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.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.603/2.603, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8478/0.8482, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.003193/0.8515, allocations: 1.194 MB / 0.982 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002274/0.8538, allocations: 0.6823 MB / 0.9827 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.8539, allocations: 7.938 kB / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.006e-05/0.854, allocations: 7.922 kB / 0.9827 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.8541, allocations: 11.98 kB / 0.9827 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009692/0.8551, allocations: 91.7 kB / 0.9828 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.8553, allocations: 47.88 kB / 0.9829 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.8555, allocations: 12.16 kB / 0.9829 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.8557, allocations: 27.92 kB / 0.9829 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.8558, allocations: 39.83 kB / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.8559, allocations: 4 kB / 0.9829 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.8562, allocations: 63.88 kB / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.8563, allocations: 19.91 kB / 0.983 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.8564, allocations: 37.7 kB / 0.9831 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.8567, allocations: 90.08 kB / 0.9831 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8568, allocations: 0 / 0.9831 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.888e-06/0.8568, allocations: 0 / 0.9831 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.8568, allocations: 0 / 0.9831 GB, free: 3.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001026/0.8578, allocations: 450.4 kB / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.8579, allocations: 11.97 kB / 0.9836 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.783e-05/0.858, allocations: 30.56 kB / 0.9836 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.8581, allocations: 7.984 kB / 0.9836 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.8583, allocations: 174.9 kB / 0.9838 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.8584, allocations: 8 kB / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.8584, allocations: 4 kB / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.8588, allocations: 81.59 kB / 0.9839 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.8588, allocations: 0 / 0.9839 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.8588, allocations: 0 / 0.9839 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.8589, allocations: 4 kB / 0.9839 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.8591, allocations: 43.91 kB / 0.9839 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.86, allocations: 300.9 kB / 0.9842 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.8602, allocations: 54.52 kB / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.8603, allocations: 3.984 kB / 0.9843 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.8607, allocations: 99.28 kB / 0.9844 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 2.375e-06/0.8607, allocations: 0 / 0.9844 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0007585/0.8615, allocations: 145.7 kB / 0.9845 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.8615, allocations: 55.41 kB / 0.9845 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.8617, allocations: 132.7 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.8618, allocations: 29.7 kB / 0.9847 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.8619, allocations: 88.33 kB / 0.9848 GB, free: 2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.8619, allocations: 23.73 kB / 0.9848 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.8619, allocations: 0 / 0.9848 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.8621, allocations: 318.8 kB / 0.9851 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.8623, allocations: 23.98 kB / 0.9851 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.8625, allocations: 73 kB / 0.9852 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.8627, allocations: 35.98 kB / 0.9852 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.8627, allocations: 0 / 0.9852 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000471/0.8632, allocations: 121.4 kB / 0.9854 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.8632, allocations: 8 kB / 0.9854 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.8633, allocations: 3.984 kB / 0.9854 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.8633, allocations: 8.156 kB / 0.9854 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.8635, allocations: 8 kB / 0.9854 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.8635, allocations: 11.92 kB / 0.9854 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.8636, allocations: 8 kB / 0.9854 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.8637, allocations: 4 kB / 0.9854 GB, free: 1.332 MB / 0.7325 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 0.0001636/0.8638, allocations: 114.8 kB / 0.9855 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.8639, allocations: 11.86 kB / 0.9855 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/0.864, allocations: 20.36 kB / 0.9855 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.864, allocations: 0 / 0.9855 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.864, allocations: 0 / 0.9855 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.864, allocations: 0 / 0.9855 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/0.8649, allocations: 394.7 kB / 0.9859 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.8649, allocations: 0 / 0.9859 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.865, allocations: 11.94 kB / 0.9859 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.865, allocations: 0 / 0.9859 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.865, allocations: 7.984 kB / 0.9859 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.8651, allocations: 0 / 0.9859 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8651, allocations: 0 / 0.9859 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.8656, allocations: 235.4 kB / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.8657, allocations: 88.95 kB / 0.9862 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.8658, allocations: 3.984 kB / 0.9863 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.8659, allocations: 4 kB / 0.9863 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.866, allocations: 7.984 kB / 0.9863 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.8661, allocations: 0 / 0.9863 GB, free: 356 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001061/0.8662, allocations: 99.27 kB / 0.9864 GB, free: 256 kB / 0.7325 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8662, allocations: 0 / 0.9864 GB, free: 256 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005615/0.8668, allocations: 36 kB / 0.9864 GB, free: 220 kB / 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: 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.001476/0.8682, allocations: 0.8194 MB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.8687, allocations: 75.91 kB / 0.9873 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8687, allocations: 0 / 0.9873 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.8689, allocations: 40.28 kB / 0.9873 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.8693, allocations: 8 kB / 0.9873 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.8709, allocations: 1.195 MB / 0.9885 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.8714, allocations: 0.6927 MB / 0.9892 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.227e-05/0.8714, allocations: 8.172 kB / 0.9892 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.8715, allocations: 23.42 kB / 0.9892 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of SimCode: time 9.41e-07/0.8715, allocations: 0 / 0.9892 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.8923, allocations: 2.396 MB / 0.9915 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004363/0.8928, allocations: 251.4 kB / 0.9918 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.766, allocations: 5.094 kB / 0.9918 GB, free: 10.72 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat