Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.672/2.672, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.00163, allocations: 178.8 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 92.98 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004899, allocations: 18.66 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2402, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001833/0.2421, allocations: 1.199 MB / 0.9795 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2438, allocations: 0.7971 MB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.2439, allocations: 3.938 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.2439, allocations: 4 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.244, allocations: 23.89 kB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.2447, allocations: 119.6 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2448, allocations: 47.94 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2449, allocations: 8 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.245, allocations: 43.83 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.2451, allocations: 39.83 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.2452, allocations: 8 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.2454, allocations: 95.78 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.2455, allocations: 19.91 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.2455, allocations: 33.7 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.2458, allocations: 128 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2458, allocations: 0 / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2458, allocations: 0 / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2458, allocations: 0 / 0.9808 GB, free: 25.7 MB / 0.6198 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.0008067/0.2466, allocations: 480.4 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.2467, allocations: 8.031 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.2467, allocations: 34.56 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.2468, allocations: 15.86 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2469, allocations: 178.9 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.247, allocations: 0 / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.247, allocations: 8 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.2473, allocations: 89.64 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2473, allocations: 0 / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.2474, allocations: 3.984 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2474, allocations: 7.922 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.2477, allocations: 59.91 kB / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/0.2483, allocations: 332.7 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.2487, allocations: 90.53 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.2487, allocations: 4.031 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.249, allocations: 91.36 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.963e-06/0.2491, allocations: 0 / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0008044/0.2499, allocations: 205.6 kB / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.2499, allocations: 59.39 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.25, allocations: 130.1 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2501, allocations: 29.7 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.2501, allocations: 96.12 kB / 0.9826 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.2502, allocations: 19.69 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-06/0.2502, allocations: 4 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.2503, allocations: 318.8 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2504, allocations: 27.98 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.2506, allocations: 81.98 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.2507, allocations: 39.92 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2508, allocations: 0 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003617/0.2511, allocations: 133.3 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2512, allocations: 8 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2512, allocations: 192 / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.2512, allocations: 8 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.2514, allocations: 19.94 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2514, allocations: 0 / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.2515, allocations: 8 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.2515, allocations: 4 kB / 0.9833 GB, free: 22.9 MB / 0.6198 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 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,occ.y,$whenCondition1,ac.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.2517, allocations: 135 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.2517, allocations: 11.91 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.2517, allocations: 8.719 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2518, allocations: 0 / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2518, allocations: 3.953 kB / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2518, allocations: 4 kB / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007786/0.2526, allocations: 442.4 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2526, allocations: 0 / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.2527, allocations: 4 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2527, allocations: 3.938 kB / 0.9838 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.2527, allocations: 3.953 kB / 0.9838 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2527, allocations: 7.984 kB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2527, allocations: 0 / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.2533, allocations: 255.8 kB / 0.9841 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.2533, allocations: 85 kB / 0.9842 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.2534, allocations: 0 / 0.9842 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.2536, allocations: 15.89 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.2536, allocations: 11.98 kB / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.2537, allocations: 15.98 kB / 0.9842 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.044e-05/0.2537, allocations: 96.25 kB / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2537, allocations: 0 / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004535/0.2542, allocations: 44 kB / 0.9844 GB, free: 21.68 MB / 0.6198 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 (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.001148/0.2554, allocations: 0.8617 MB / 0.9852 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004132/0.2558, allocations: 99.83 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2558, allocations: 0 / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.2561, allocations: 51.97 kB / 0.9853 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.2563, allocations: 16.27 kB / 0.9854 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.2574, allocations: 1.381 MB / 0.9867 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.2576, allocations: 0.6991 MB / 0.9874 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.533e-05/0.2577, allocations: 4 kB / 0.9874 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.2577, allocations: 27.42 kB / 0.9874 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2577, allocations: 0 / 0.9874 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.2816, allocations: 2.853 MB / 0.9902 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.2819, allocations: 254.3 kB / 0.9904 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/2.837, allocations: 4 kB / 0.9905 GB, free: 15.43 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)