Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 190.6 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009166/0.0009166, allocations: 95.05 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 8.812 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001936/0.2417, allocations: 1.199 MB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2433, allocations: 0.8198 MB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.2433, allocations: 3.938 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.2434, allocations: 7.984 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.2434, allocations: 11.92 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.244, allocations: 123.6 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.339e-05/0.2441, allocations: 47.92 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2442, allocations: 15.98 kB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2443, allocations: 35.84 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.2444, allocations: 35.89 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2445, allocations: 4 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.2447, allocations: 99.84 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.2447, allocations: 15.92 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.2447, allocations: 33.7 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.245, allocations: 135.7 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.245, allocations: 0 / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/0.245, allocations: 0 / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.245, allocations: 0 / 0.9027 GB, free: 61.24 MB / 0.6042 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.0007861/0.2458, allocations: 470.8 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.2458, allocations: 8.031 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.2459, allocations: 34.55 kB / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.2459, allocations: 11.86 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2461, allocations: 184.4 kB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.2462, allocations: 0 / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.2462, allocations: 4 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.2464, allocations: 101.6 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2464, allocations: 0 / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.2465, allocations: 0 / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2465, allocations: 0 / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.2467, allocations: 59.91 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.2472, allocations: 332.7 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.2475, allocations: 90.55 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.2475, allocations: 96 / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.2478, allocations: 95.3 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.2478, allocations: 0 / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004849/0.2483, allocations: 201.5 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.2483, allocations: 63.39 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.2484, allocations: 128.1 kB / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.2484, allocations: 33.64 kB / 0.9044 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.2485, allocations: 100.2 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.2485, allocations: 15.8 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/0.2485, allocations: 7.938 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.2486, allocations: 318.8 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.2487, allocations: 23.98 kB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.032e-05/0.2488, allocations: 83.73 kB / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.934e-05/0.2489, allocations: 31.98 kB / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2489, allocations: 4 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002037/0.2491, allocations: 129.4 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2491, allocations: 6.969 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2491, allocations: 0 / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2491, allocations: 4.188 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.2492, allocations: 27.94 kB / 0.9051 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2493, allocations: 0 / 0.9051 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.2493, allocations: 19.84 kB / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.2493, allocations: 8.031 kB / 0.9051 GB, free: 58.44 MB / 0.6042 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.0001072/0.2495, allocations: 129.8 kB / 0.9053 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.2495, allocations: 4 kB / 0.9053 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.2495, allocations: 12.72 kB / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2495, allocations: 0 / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2495, allocations: 3.953 kB / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2495, allocations: 4 kB / 0.9053 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.25, allocations: 442.3 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.25, allocations: 4 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.2501, allocations: 4 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2501, allocations: 3.938 kB / 0.9057 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2501, allocations: 7.938 kB / 0.9057 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2501, allocations: 4 kB / 0.9057 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2501, allocations: 0 / 0.9057 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.2505, allocations: 255.4 kB / 0.906 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.2505, allocations: 84.95 kB / 0.9061 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.2505, allocations: 0 / 0.9061 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2506, allocations: 15.94 kB / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.2507, allocations: 7.938 kB / 0.9061 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2507, allocations: 11.98 kB / 0.9061 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.2508, allocations: 104.5 kB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2508, allocations: 0 / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003209/0.2511, allocations: 51.98 kB / 0.9062 GB, free: 57.21 MB / 0.6042 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.0007602/0.2519, allocations: 0.8448 MB / 0.9071 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.2521, allocations: 99.83 kB / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2521, allocations: 0 / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.2523, allocations: 55.91 kB / 0.9072 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.2525, allocations: 11.38 kB / 0.9072 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008487/0.2534, allocations: 1.38 MB / 0.9086 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.2535, allocations: 0.6965 MB / 0.9093 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.2536, allocations: 8.078 kB / 0.9093 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.2536, allocations: 30.09 kB / 0.9093 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2536, allocations: 0 / 0.9093 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.2677, allocations: 2.853 MB / 0.9121 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.2679, allocations: 264.6 kB / 0.9123 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.92, allocations: 6.297 kB / 0.9123 GB, free: 50.98 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)