Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",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.0009762/0.0009762, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001256/0.001256, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.591/2.591, allocations: 409.4 MB / 0.684 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 15.94 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.7682, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002982/0.7713, allocations: 1.776 MB / 0.9829 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.7743, allocations: 1.704 MB / 0.9845 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.7745, allocations: 4 kB / 0.9845 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007847/0.7753, allocations: 203 kB / 0.9847 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.7755, allocations: 55.48 kB / 0.9848 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.7768, allocations: 363.8 kB / 0.9851 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.7772, allocations: 342.8 kB / 0.9855 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.7774, allocations: 44.31 kB / 0.9855 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.7775, allocations: 147.6 kB / 0.9857 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.7777, allocations: 139.5 kB / 0.9858 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.7778, allocations: 20 kB / 0.9858 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.7782, allocations: 211.7 kB / 0.986 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.7784, allocations: 107.7 kB / 0.9861 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.366e-05/0.7785, allocations: 73.58 kB / 0.9862 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.779, allocations: 461.1 kB / 0.9866 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.779, allocations: 0 / 0.9866 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7791, allocations: 0 / 0.9866 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.7791, allocations: 0 / 0.9866 GB, free: 0.6406 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001217/0.7803, allocations: 0.6594 MB / 0.9873 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.7804, allocations: 12.03 kB / 0.9873 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.244e-05/0.7804, allocations: 38.55 kB / 0.9873 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.7819, allocations: 171.4 kB / 0.9875 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.7825, allocations: 353.3 kB / 0.9878 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.7826, allocations: 79.34 kB / 0.9879 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.7826, allocations: 12 kB / 0.9879 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.7837, allocations: 463 kB / 0.9883 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7837, allocations: 0 / 0.9883 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.7838, allocations: 0 / 0.9883 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.7838, allocations: 4 kB / 0.9883 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.7853, allocations: 0.6246 MB / 0.989 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.7871, allocations: 1.047 MB / 0.99 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004414/0.7915, allocations: 0.9158 MB / 0.9909 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/0.7923, allocations: 328.7 kB / 0.9912 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.7924, allocations: 0 / 0.9912 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.7934, allocations: 476 kB / 0.9916 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/0.7934, allocations: 0 / 0.9916 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.002449/0.7959, allocations: 0.982 MB / 0.9926 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.7959, allocations: 55.41 kB / 0.9926 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.7965, allocations: 429.6 kB / 0.9931 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.742e-05/0.7966, allocations: 33.7 kB / 0.9931 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.7968, allocations: 172 kB / 0.9933 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.7969, allocations: 51.27 kB / 0.9933 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.7969, allocations: 4 kB / 0.9933 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.7971, allocations: 346.8 kB / 0.9936 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008357/0.7979, allocations: 400.6 kB / 0.994 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008038/0.7987, allocations: 391.7 kB / 0.9944 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/0.7996, allocations: 371.5 kB / 0.9947 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7996, allocations: 0 / 0.9947 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00195/0.8015, allocations: 0.9397 MB / 0.9957 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/0.8016, allocations: 45.69 kB / 0.9957 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8016, allocations: 0 / 0.9957 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.8016, allocations: 7.953 kB / 0.9957 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.8021, allocations: 67.92 kB / 0.9958 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.8021, allocations: 3.984 kB / 0.9958 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.8025, allocations: 59.8 kB / 0.9958 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.8026, allocations: 11.98 kB / 0.9959 GB, free: 6.91 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0003106/0.8029, allocations: 193.7 kB / 0.996 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.803, allocations: 35.61 kB / 0.9961 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.932e-05/0.8031, allocations: 43.47 kB / 0.9961 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.8031, allocations: 0 / 0.9961 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.8031, allocations: 3.953 kB / 0.9961 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.8031, allocations: 0 / 0.9961 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.8037, allocations: 0.5399 MB / 0.9966 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.8037, allocations: 4 kB / 0.9966 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.8042, allocations: 71.86 kB / 0.9967 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.8042, allocations: 7.938 kB / 0.9967 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.8042, allocations: 11.98 kB / 0.9967 GB, free: 5.945 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.8042, allocations: 3.953 kB / 0.9967 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.8042, allocations: 0 / 0.9967 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.8058, allocations: 0.7012 MB / 0.9974 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.8061, allocations: 160.7 kB / 0.9976 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.8062, allocations: 4 kB / 0.9976 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.8066, allocations: 59.94 kB / 0.9976 GB, free: 4.984 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.8067, allocations: 27.91 kB / 0.9977 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.8067, allocations: 15.98 kB / 0.9977 GB, free: 4.941 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003784/0.8071, allocations: 315.1 kB / 0.998 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8071, allocations: 0 / 0.998 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003987/0.8075, allocations: 84.17 kB / 0.9981 GB, free: 4.555 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002155/0.8097, allocations: 1.277 MB / 0.9993 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.8115, allocations: 0.7996 MB / 1 GB, free: 2.438 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8115, allocations: 0 / 1 GB, free: 2.438 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.8124, allocations: 347.7 kB / 1 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.8129, allocations: 74.22 kB / 1 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007436/0.8203, allocations: 3.817 MB / 1.004 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.821, allocations: 0.8107 MB / 1.005 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004814/0.8215, allocations: 94.23 kB / 1.005 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.8217, allocations: 111.3 kB / 1.005 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of SimCode: time 8.22e-07/0.8217, allocations: 0 / 1.005 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.8471, allocations: 9.764 MB / 1.015 GB, free: 3.621 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.8473, allocations: 207.3 kB / 1.015 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.935, allocations: 0 / 1.015 GB, free: 3.383 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat does not exist to compare? outputFormat=mat