Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.001374/0.001374, allocations: 99.62 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.001598/0.001598, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.806/2.806, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.732/2.732, allocations: 292.6 MB / 0.5498 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000923/0.0009234, allocations: 15.81 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5124, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.004244/0.5167, allocations: 1.196 MB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.5197, allocations: 0.7221 MB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.964e-05/0.5199, allocations: 0 / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.304e-05/0.5199, allocations: 7.922 kB / 0.7891 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.5201, allocations: 11.97 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.5212, allocations: 87.77 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.5215, allocations: 47.88 kB / 0.7893 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.5217, allocations: 8 kB / 0.7893 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.522, allocations: 39.89 kB / 0.7893 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.5221, allocations: 23.91 kB / 0.7893 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.5222, allocations: 4 kB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.5225, allocations: 79.8 kB / 0.7894 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.5226, allocations: 11.98 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.5227, allocations: 33.64 kB / 0.7894 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.5232, allocations: 104 kB / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.5233, allocations: 0 / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.247e-05/0.5233, allocations: 8 kB / 0.7896 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.5233, allocations: 0 / 0.7896 GB, free: 9.484 MB / 0.6075 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.00158/0.5249, allocations: 400.8 kB / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.701e-05/0.525, allocations: 8.031 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.694e-05/0.5251, allocations: 30.56 kB / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.5252, allocations: 15.89 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.5256, allocations: 178.9 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.5256, allocations: 11.94 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.5257, allocations: 4 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.5262, allocations: 73.64 kB / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.5262, allocations: 0 / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.5263, allocations: 0 / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.5263, allocations: 4 kB / 0.7902 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.5266, allocations: 43.97 kB / 0.7903 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.5277, allocations: 316.7 kB / 0.7906 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.528, allocations: 54.5 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.528, allocations: 0 / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.5284, allocations: 79.5 kB / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.327e-06/0.5285, allocations: 0 / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0008059/0.5293, allocations: 157.5 kB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.5294, allocations: 59.36 kB / 0.7909 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.5296, allocations: 114.2 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.5297, allocations: 29.7 kB / 0.7911 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.5299, allocations: 100.2 kB / 0.7912 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.5299, allocations: 15.81 kB / 0.7912 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.53, allocations: 0 / 0.7912 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002494/0.5302, allocations: 322.8 kB / 0.7915 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.5304, allocations: 31.98 kB / 0.7915 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.5306, allocations: 59.45 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.5308, allocations: 32 kB / 0.7916 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5309, allocations: 0 / 0.7916 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004985/0.5314, allocations: 129.4 kB / 0.7917 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.5314, allocations: 4 kB / 0.7917 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.5315, allocations: 7.938 kB / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.5315, allocations: 0 / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.5317, allocations: 16.05 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.5317, allocations: 7.953 kB / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.5319, allocations: 4 kB / 0.7918 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.5319, allocations: 8 kB / 0.7918 GB, free: 6.969 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$whenCondition1,win.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.0002/0.5321, allocations: 121.7 kB / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.5323, allocations: 11.89 kB / 0.7919 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.5323, allocations: 8.375 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5324, allocations: 8 kB / 0.7919 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.5324, allocations: 0 / 0.7919 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5324, allocations: 3.953 kB / 0.7919 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009128/0.5333, allocations: 374.8 kB / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5333, allocations: 3.938 kB / 0.7923 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.5334, allocations: 12 kB / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.5334, allocations: 0 / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.5335, allocations: 3.984 kB / 0.7923 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.5335, allocations: 3.953 kB / 0.7923 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5335, allocations: 0 / 0.7923 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.5341, allocations: 215.5 kB / 0.7925 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.5342, allocations: 97.03 kB / 0.7926 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.5343, allocations: 0 / 0.7926 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.5345, allocations: 4 kB / 0.7926 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.5346, allocations: 15.94 kB / 0.7926 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.5346, allocations: 0 / 0.7926 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001008/0.5347, allocations: 91.27 kB / 0.7927 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5347, allocations: 0 / 0.7927 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006185/0.5354, allocations: 36 kB / 0.7927 GB, free: 5.879 MB / 0.6075 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.001356/0.5367, allocations: 0.8212 MB / 0.7935 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.5371, allocations: 79.89 kB / 0.7936 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5371, allocations: 0 / 0.7936 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.5373, allocations: 35.98 kB / 0.7936 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.5376, allocations: 16.02 kB / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.5391, allocations: 0.8725 MB / 0.7945 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.5396, allocations: 0.6887 MB / 0.7952 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.281e-05/0.5396, allocations: 8.172 kB / 0.7952 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.5397, allocations: 23.44 kB / 0.7952 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.5397, allocations: 0 / 0.7952 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.5669, allocations: 2.303 MB / 0.7975 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004058/0.5675, allocations: 236 kB / 0.7977 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/3.762, allocations: 0 / 0.7977 GB, free: 0.8516 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) Environment - environmentSimulation: