Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.0008/0.0007999, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.0009144/0.0009148, allocations: 172.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.459/1.459, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.642/2.642, allocations: 409.4 MB / 0.684 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.000456, allocations: 12 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8373/0.8378, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001655/0.8395, allocations: 1.198 MB / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.8407, allocations: 0.6978 MB / 0.983 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.8407, allocations: 0 / 0.983 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.8407, allocations: 3.938 kB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.8408, allocations: 15.86 kB / 0.983 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.8412, allocations: 95.77 kB / 0.9831 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.8414, allocations: 83.75 kB / 0.9832 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.8415, allocations: 15.98 kB / 0.9832 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.766e-05/0.8415, allocations: 39.91 kB / 0.9832 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.8416, allocations: 39.83 kB / 0.9833 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.8417, allocations: 4 kB / 0.9833 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.8418, allocations: 83.84 kB / 0.9834 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.8419, allocations: 11.98 kB / 0.9834 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.8419, allocations: 41.64 kB / 0.9834 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.8421, allocations: 110 kB / 0.9835 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8421, allocations: 0 / 0.9835 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8421, allocations: 11.94 kB / 0.9835 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.8421, allocations: 0 / 0.9835 GB, free: 3.816 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000606/0.8427, allocations: 450.3 kB / 0.984 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.8428, allocations: 8.031 kB / 0.984 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.8428, allocations: 30.56 kB / 0.984 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.8429, allocations: 19.89 kB / 0.984 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.843, allocations: 171 kB / 0.9842 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.8431, allocations: 8 kB / 0.9842 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.8431, allocations: 8 kB / 0.9842 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.8433, allocations: 89.58 kB / 0.9843 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8433, allocations: 3.984 kB / 0.9843 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.8433, allocations: 0 / 0.9843 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.8433, allocations: 0 / 0.9843 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.8435, allocations: 59.91 kB / 0.9843 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.844, allocations: 320.7 kB / 0.9846 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.8442, allocations: 70.5 kB / 0.9847 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.8443, allocations: 52.83 kB / 0.9848 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.8444, allocations: 0 / 0.9848 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.8446, allocations: 99.39 kB / 0.9848 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.8446, allocations: 0 / 0.9848 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004683/0.8451, allocations: 197.5 kB / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.8451, allocations: 55.41 kB / 0.9851 GB, free: 2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.8453, allocations: 125.1 kB / 0.9852 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.8453, allocations: 33.7 kB / 0.9852 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.8453, allocations: 88.38 kB / 0.9853 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.8454, allocations: 27.64 kB / 0.9854 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.8454, allocations: 7.938 kB / 0.9854 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.8455, allocations: 318.8 kB / 0.9857 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.8456, allocations: 35.97 kB / 0.9857 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.8457, allocations: 74.09 kB / 0.9858 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/0.8458, allocations: 39.98 kB / 0.9858 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8458, allocations: 0 / 0.9858 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002602/0.8461, allocations: 145.4 kB / 0.9859 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.8461, allocations: 4 kB / 0.9859 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.8461, allocations: 4 kB / 0.986 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.8462, allocations: 3.938 kB / 0.986 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.8463, allocations: 19.92 kB / 0.986 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.8463, allocations: 4 kB / 0.986 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.8464, allocations: 24 kB / 0.986 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.8464, allocations: 4 kB / 0.986 GB, free: 1.004 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.0001027/0.8465, allocations: 127.2 kB / 0.9861 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.8465, allocations: 3.953 kB / 0.9861 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.8465, allocations: 12.38 kB / 0.9861 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.8466, allocations: 0 / 0.9861 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8466, allocations: 0 / 0.9861 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8466, allocations: 0 / 0.9861 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.8472, allocations: 446.3 kB / 0.9866 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.8472, allocations: 4 kB / 0.9866 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.8472, allocations: 7.984 kB / 0.9866 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8472, allocations: 0 / 0.9866 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.8473, allocations: 0 / 0.9866 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.8473, allocations: 4 kB / 0.9866 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8473, allocations: 4 kB / 0.9866 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.8476, allocations: 259.4 kB / 0.9868 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.8477, allocations: 93.12 kB / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.8477, allocations: 3.984 kB / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.8478, allocations: 11.94 kB / 0.9869 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.8479, allocations: 7.984 kB / 0.9869 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.8479, allocations: 8 kB / 0.987 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.8479, allocations: 91.27 kB / 0.987 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.848, allocations: 0 / 0.987 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003154/0.8483, allocations: 43.98 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008668/0.8492, allocations: 0.8555 MB / 0.9879 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.8494, allocations: 95.83 kB / 0.988 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.8494, allocations: 0 / 0.988 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.8496, allocations: 55.95 kB / 0.9881 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.8499, allocations: 15.98 kB / 0.9881 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.8509, allocations: 0.66 MB / 0.9887 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.8513, allocations: 0.6965 MB / 0.9894 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.8513, allocations: 4 kB / 0.9894 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.8514, allocations: 23.42 kB / 0.9894 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.8514, allocations: 0 / 0.9894 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.8647, allocations: 2.664 MB / 0.992 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.8649, allocations: 251.9 kB / 0.9923 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.733, allocations: 0 / 0.9923 GB, free: 10.49 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat