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: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 106.1 kB / 15.99 MB, free: 6.348 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.001141/0.001141, allocations: 188.8 kB / 16.91 MB, free: 6.188 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.373/1.373, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.663/1.663, allocations: 292.3 MB / 0.5492 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.001385/0.001385, allocations: 70.55 kB / 0.6716 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2393, allocations: 114.6 MB / 0.7835 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002653/0.242, allocations: 1.554 MB / 0.785 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2433, allocations: 0.8617 MB / 0.7859 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.2434, allocations: 3.938 kB / 0.7859 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.2434, allocations: 0 / 0.7859 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.2435, allocations: 11.86 kB / 0.7859 GB, free: 11.49 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.0005586/0.2441, allocations: 131.7 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2442, allocations: 95.7 kB / 0.7861 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.2443, allocations: 15.97 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.2444, allocations: 35.92 kB / 0.7861 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.2444, allocations: 51.81 kB / 0.7862 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.2445, allocations: 11.94 kB / 0.7862 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.2447, allocations: 119.9 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.2447, allocations: 19.92 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.2448, allocations: 39.8 kB / 0.7864 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.245, allocations: 132 kB / 0.7865 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.245, allocations: 0 / 0.7865 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.245, allocations: 4 kB / 0.7865 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.245, allocations: 0 / 0.7865 GB, free: 10.85 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.0007052/0.2457, allocations: 490.4 kB / 0.787 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2457, allocations: 8.031 kB / 0.787 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.2458, allocations: 8.844 kB / 0.787 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2459, allocations: 176.2 kB / 0.7872 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.2459, allocations: 4.359 kB / 0.7872 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.246, allocations: 12.38 kB / 0.7872 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.2462, allocations: 89.89 kB / 0.7873 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2462, allocations: 0 / 0.7873 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2462, allocations: 3.938 kB / 0.7873 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2462, allocations: 0 / 0.7873 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.2464, allocations: 51.95 kB / 0.7873 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.2469, allocations: 324.7 kB / 0.7876 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.2472, allocations: 90.55 kB / 0.7877 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.2473, allocations: 40.84 kB / 0.7878 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.2473, allocations: 0 / 0.7878 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.2475, allocations: 91.36 kB / 0.7878 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.2475, allocations: 4 kB / 0.7878 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004922/0.248, allocations: 185.5 kB / 0.788 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.2481, allocations: 59.39 kB / 0.7881 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.2482, allocations: 133.1 kB / 0.7882 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.2482, allocations: 29.7 kB / 0.7882 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.2483, allocations: 92.3 kB / 0.7883 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.2483, allocations: 27.62 kB / 0.7883 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.2484, allocations: 29.72 kB / 0.7884 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2485, allocations: 322.8 kB / 0.7887 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.2485, allocations: 23.98 kB / 0.7887 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.2487, allocations: 77.48 kB / 0.7888 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.2488, allocations: 101.9 kB / 0.7889 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2488, allocations: 0 / 0.7889 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002266/0.2491, allocations: 133.4 kB / 0.789 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2491, allocations: 4 kB / 0.789 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2491, allocations: 4.234 kB / 0.789 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2491, allocations: 7.984 kB / 0.789 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.2492, allocations: 19.92 kB / 0.789 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2492, allocations: 4.312 kB / 0.789 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/0.2493, allocations: 4 kB / 0.789 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2493, allocations: 4 kB / 0.789 GB, free: 7.973 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 9.097e-05/0.2494, allocations: 122.4 kB / 0.7892 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.2494, allocations: 11.89 kB / 0.7892 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.2495, allocations: 16.72 kB / 0.7892 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2495, allocations: 3.938 kB / 0.7892 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2495, allocations: 0 / 0.7892 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2495, allocations: 0 / 0.7892 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.25, allocations: 438.2 kB / 0.7896 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.25, allocations: 0 / 0.7896 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.2501, allocations: 7.984 kB / 0.7896 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.2501, allocations: 4 kB / 0.7896 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2501, allocations: 8 kB / 0.7896 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2501, allocations: 0 / 0.7896 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.2501, allocations: 11.81 kB / 0.7896 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.2505, allocations: 243.4 kB / 0.7899 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.2505, allocations: 81.02 kB / 0.79 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.2506, allocations: 7.984 kB / 0.79 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2507, allocations: 8 kB / 0.79 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.2507, allocations: 11.92 kB / 0.79 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.2507, allocations: 4 kB / 0.79 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.2508, allocations: 95.27 kB / 0.7901 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2508, allocations: 0 / 0.7901 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003002/0.2511, allocations: 51.98 kB / 0.7901 GB, free: 6.766 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.0003334/0.2514, allocations: 174.2 kB / 0.7903 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.2517, allocations: 91.81 kB / 0.7904 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2517, allocations: 0 / 0.7904 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2519, allocations: 47.97 kB / 0.7904 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.2521, allocations: 12.38 kB / 0.7904 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.2526, allocations: 253.8 kB / 0.7907 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.2529, allocations: 0.6991 MB / 0.7914 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.2529, allocations: 15.42 kB / 0.7914 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.2529, allocations: 0 / 0.7914 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of Templates: time 0.003581/0.2565, allocations: 1.83 MB / 0.7932 GB, free: 3.609 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (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 & ./Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)