Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.001191/0.001191, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001171/0.001171, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 222.1 MB, free: 4.711 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 1.581/1.581, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.0014/0.0014, allocations: 68.55 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2015, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002957/0.2045, allocations: 1.663 MB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2059, allocations: 0.8034 MB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.206, allocations: 3.938 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.206, allocations: 3.984 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.2061, allocations: 19.8 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.2068, allocations: 127.7 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.207, allocations: 139.6 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2071, allocations: 16.28 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2072, allocations: 63.83 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.878e-05/0.2073, allocations: 71.72 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.2074, allocations: 12 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.2076, allocations: 99.84 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.2076, allocations: 35.89 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.2077, allocations: 51.78 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.208, allocations: 195.5 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.208, allocations: 3.984 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.208, allocations: 0 / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.208, allocations: 0 / 0.7862 GB, free: 10.51 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007718/0.2088, allocations: 482.4 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2089, allocations: 15.91 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.2089, allocations: 42.75 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.209, allocations: 8.844 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2091, allocations: 188.6 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.2092, allocations: 4.375 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.2092, allocations: 11.94 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.2095, allocations: 89.62 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2095, allocations: 0 / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.2095, allocations: 7.984 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2095, allocations: 4 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.2097, allocations: 59.95 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008313/0.2106, allocations: 376.5 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.2107, allocations: 70.55 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.2109, allocations: 52.83 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2109, allocations: 0 / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.2111, allocations: 103.3 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.2112, allocations: 0 / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005533/0.2117, allocations: 213.4 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.2118, allocations: 55.41 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2119, allocations: 149.4 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.2119, allocations: 37.64 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.212, allocations: 96.28 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.212, allocations: 23.73 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.2121, allocations: 33.7 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2122, allocations: 322.8 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.2123, allocations: 39.97 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.2125, allocations: 72.27 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.2127, allocations: 108.2 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2127, allocations: 384 / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003274/0.213, allocations: 165.4 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.213, allocations: 8.031 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2131, allocations: 0 / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2131, allocations: 12.03 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.2132, allocations: 23.92 kB / 0.7889 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2132, allocations: 7.938 kB / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.2133, allocations: 7.984 kB / 0.7889 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.2134, allocations: 8 kB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.2135, allocations: 126.4 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.2135, allocations: 11.89 kB / 0.7891 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.2135, allocations: 12.72 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2136, allocations: 3.938 kB / 0.7891 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2136, allocations: 0 / 0.7891 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2136, allocations: 0 / 0.7891 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.2142, allocations: 462.5 kB / 0.7895 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2142, allocations: 4 kB / 0.7895 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.2143, allocations: 15.86 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2143, allocations: 0 / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.2143, allocations: 8 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2143, allocations: 0 / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2143, allocations: 0 / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.2147, allocations: 267.3 kB / 0.7898 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.2148, allocations: 88.95 kB / 0.7899 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.2148, allocations: 4 kB / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.2149, allocations: 7.984 kB / 0.7899 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.215, allocations: 7.984 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.215, allocations: 4 kB / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.283e-05/0.2151, allocations: 111.2 kB / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2151, allocations: 0 / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003019/0.2154, allocations: 44 kB / 0.7901 GB, free: 6.141 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000888/0.2163, allocations: 0.8711 MB / 0.7909 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003282/0.2166, allocations: 115.8 kB / 0.791 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2166, allocations: 0 / 0.791 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.2168, allocations: 55.97 kB / 0.7911 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2171, allocations: 19.3 kB / 0.7911 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.2191, allocations: 1.735 MB / 0.7928 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2194, allocations: 0.7003 MB / 0.7935 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.641e-05/0.2194, allocations: 11.98 kB / 0.7935 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.2195, allocations: 31.42 kB / 0.7935 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2195, allocations: 0 / 0.7935 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.07/2.29, allocations: 3.201 MB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/2.29, allocations: 263.6 kB / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/4.05, allocations: 1.5 kB / 0.7969 GB, free: 15.09 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)