Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",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.001249/0.001249, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001316/0.001316, allocations: 195.7 kB / 16.25 MB, free: 6.629 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.243/1.243, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.671/1.671, allocations: 292.3 MB / 0.5485 GB, free: 13.62 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.001374/0.001374, allocations: 67.34 kB / 0.6711 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2041, allocations: 114.6 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002526/0.2067, allocations: 1.562 MB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.208, allocations: 0.8422 MB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.208, allocations: 0 / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.2081, allocations: 7.922 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.514e-05/0.2081, allocations: 11.88 kB / 0.7853 GB, free: 11.39 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.0005228/0.2087, allocations: 139.7 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2088, allocations: 91.7 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.774e-05/0.2089, allocations: 12 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.209, allocations: 47.83 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.209, allocations: 43.77 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2091, allocations: 11.94 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.2093, allocations: 127.9 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.2093, allocations: 19.97 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.2094, allocations: 39.8 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.2096, allocations: 179.8 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2096, allocations: 3.984 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2096, allocations: 3.938 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2096, allocations: 0 / 0.786 GB, free: 10.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006848/0.2103, allocations: 478.5 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2104, allocations: 12.03 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.2104, allocations: 38.75 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.2105, allocations: 8.844 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.2106, allocations: 176.2 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.2106, allocations: 4.375 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2106, allocations: 8.375 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.2109, allocations: 89.7 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.2109, allocations: 0 / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2109, allocations: 0 / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2109, allocations: 3.984 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.2111, allocations: 55.95 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.2116, allocations: 324.7 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.2118, allocations: 86.56 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.2119, allocations: 44.84 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2119, allocations: 3.984 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.2122, allocations: 87.36 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.2122, allocations: 0 / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004919/0.2127, allocations: 193.6 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2127, allocations: 55.41 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/0.2128, allocations: 126.1 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.2128, allocations: 33.7 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.2129, allocations: 92.05 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.2129, allocations: 23.73 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.213, allocations: 29.7 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2131, allocations: 330.7 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.2132, allocations: 23.98 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.327e-05/0.2133, allocations: 69.11 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.2135, allocations: 113.8 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2135, allocations: 4 kB / 0.7884 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002289/0.2137, allocations: 125.4 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2137, allocations: 4 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2137, allocations: 0 / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2137, allocations: 4 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.2138, allocations: 19.92 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2139, allocations: 0 / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.2139, allocations: 8 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.214, allocations: 8 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001156/0.2141, allocations: 136.8 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.2141, allocations: 11.84 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.2141, allocations: 8.719 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2141, allocations: 0 / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2142, allocations: 0 / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2142, allocations: 0 / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.2147, allocations: 438.3 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2147, allocations: 0 / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.2148, allocations: 4 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2148, allocations: 0 / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.2148, allocations: 7.984 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2148, allocations: 7.938 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2148, allocations: 3.938 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.2152, allocations: 239.8 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.2153, allocations: 85.02 kB / 0.7895 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.2153, allocations: 4 kB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.2154, allocations: 11.98 kB / 0.7895 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.2155, allocations: 3.938 kB / 0.7895 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.2155, allocations: 7.984 kB / 0.7895 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.2156, allocations: 99.27 kB / 0.7896 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2156, allocations: 0 / 0.7896 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003238/0.2159, allocations: 52 kB / 0.7897 GB, free: 6.566 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 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0008945/0.2168, allocations: 0.8664 MB / 0.7905 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.2171, allocations: 83.89 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2171, allocations: 4 kB / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.2172, allocations: 51.89 kB / 0.7906 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2175, allocations: 20.23 kB / 0.7907 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.2191, allocations: 1.597 MB / 0.7922 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2194, allocations: 0.6951 MB / 0.7929 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.65e-05/0.2194, allocations: 7.781 kB / 0.7929 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.2195, allocations: 23.42 kB / 0.7929 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2195, allocations: 0 / 0.7929 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.2324, allocations: 3.055 MB / 0.7959 GB, free: 204 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.2327, allocations: 268.3 kB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.957, allocations: 7.562 kB / 0.7962 GB, free: 15.84 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)