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.0007863/0.0007863, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005163/0.005163, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.452/1.452, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.716/1.716, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004772/0.0004773, allocations: 15.62 kB / 0.6744 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1767, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.00142/0.1781, allocations: 1.223 MB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1793, allocations: 0.8424 MB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.1794, allocations: 4 kB / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.1794, allocations: 7.922 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.005e-05/0.1795, allocations: 11.88 kB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.1799, allocations: 123.7 kB / 0.7902 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.18, allocations: 87.7 kB / 0.7902 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.236e-05/0.1801, allocations: 8 kB / 0.7902 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.1802, allocations: 39.89 kB / 0.7903 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.1803, allocations: 43.78 kB / 0.7903 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1803, allocations: 7.938 kB / 0.7903 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.1805, allocations: 115.9 kB / 0.7904 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.1806, allocations: 19.97 kB / 0.7905 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.1806, allocations: 57.5 kB / 0.7905 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1808, allocations: 171.8 kB / 0.7907 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1809, allocations: 3.938 kB / 0.7907 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.046e-06/0.1809, allocations: 0 / 0.7907 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.1809, allocations: 7.875 kB / 0.7907 GB, free: 8.707 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.0006114/0.1815, allocations: 478.5 kB / 0.7911 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1815, allocations: 12.02 kB / 0.7912 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.1816, allocations: 38.75 kB / 0.7912 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.1816, allocations: 8.844 kB / 0.7912 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.425e-05/0.1817, allocations: 172.2 kB / 0.7914 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.1818, allocations: 12.36 kB / 0.7914 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.1818, allocations: 8.375 kB / 0.7914 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.182, allocations: 89.7 kB / 0.7915 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.182, allocations: 0 / 0.7915 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.182, allocations: 4 kB / 0.7915 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.182, allocations: 0 / 0.7915 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1822, allocations: 55.97 kB / 0.7915 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.1827, allocations: 324.8 kB / 0.7918 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.1829, allocations: 94.56 kB / 0.7919 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.1831, allocations: 53 kB / 0.792 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1831, allocations: 3.984 kB / 0.792 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.1833, allocations: 99.36 kB / 0.7921 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.1833, allocations: 0 / 0.7921 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005007/0.1838, allocations: 205.5 kB / 0.7923 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.1839, allocations: 55.39 kB / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.184, allocations: 136.5 kB / 0.7925 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.184, allocations: 25.7 kB / 0.7925 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.1841, allocations: 92.14 kB / 0.7926 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.1841, allocations: 27.73 kB / 0.7926 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.1841, allocations: 21.7 kB / 0.7926 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.1842, allocations: 326.8 kB / 0.7929 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.1843, allocations: 27.92 kB / 0.793 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1844, allocations: 74.31 kB / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.1846, allocations: 113.9 kB / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1846, allocations: 0 / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002464/0.1849, allocations: 129.6 kB / 0.7933 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1849, allocations: 11.98 kB / 0.7933 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1849, allocations: 48 / 0.7933 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1849, allocations: 7.984 kB / 0.7933 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.185, allocations: 15.94 kB / 0.7933 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.185, allocations: 7.922 kB / 0.7933 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.1851, allocations: 15.89 kB / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1851, allocations: 8 kB / 0.7933 GB, free: 5.723 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 8.289e-05/0.1852, allocations: 130.4 kB / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.1852, allocations: 7.906 kB / 0.7935 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.1853, allocations: 16.64 kB / 0.7935 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1853, allocations: 0 / 0.7935 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1853, allocations: 4 kB / 0.7935 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1853, allocations: 0 / 0.7935 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.1858, allocations: 438.4 kB / 0.7939 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1858, allocations: 0 / 0.7939 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.1859, allocations: 7.984 kB / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1859, allocations: 0 / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1859, allocations: 4 kB / 0.7939 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1859, allocations: 0 / 0.7939 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1859, allocations: 7.875 kB / 0.7939 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.1863, allocations: 255.4 kB / 0.7942 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.1864, allocations: 81.02 kB / 0.7942 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.1864, allocations: 4 kB / 0.7942 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1865, allocations: 15.98 kB / 0.7943 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.1865, allocations: 7.922 kB / 0.7943 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1866, allocations: 8 kB / 0.7943 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.968e-05/0.1866, allocations: 95.27 kB / 0.7944 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1866, allocations: 0 / 0.7944 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003086/0.1869, allocations: 47.98 kB / 0.7944 GB, free: 4.512 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.0008408/0.1878, allocations: 0.8706 MB / 0.7953 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.1881, allocations: 95.88 kB / 0.7953 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1881, allocations: 0 / 0.7953 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1882, allocations: 56.3 kB / 0.7954 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.1885, allocations: 22.3 kB / 0.7954 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1901, allocations: 1.62 MB / 0.797 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1903, allocations: 0.6965 MB / 0.7977 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.1903, allocations: 11.77 kB / 0.7977 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.1904, allocations: 19.42 kB / 0.7977 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1904, allocations: 4 kB / 0.7977 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.2024, allocations: 2.882 MB / 0.8005 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.2026, allocations: 271.3 kB / 0.8008 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.791, allocations: 0 / 0.8008 GB, free: 13.91 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)