Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009446, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008159/0.0008161, allocations: 172.7 kB / 15.95 MB, free: 208 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.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.844/2.844, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004892, allocations: 8 kB / 0.8722 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.8239, allocations: 153.8 MB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002436/0.8264, allocations: 1.788 MB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.829, allocations: 1.704 MB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.8291, allocations: 7.938 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.8298, allocations: 203 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.83, allocations: 55.48 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009783/0.8309, allocations: 363.3 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00043/0.8314, allocations: 350.7 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.8315, allocations: 32.41 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.8317, allocations: 143.6 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.8319, allocations: 135.5 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.59e-05/0.8319, allocations: 20 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.8323, allocations: 215.6 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.8325, allocations: 107.7 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.8326, allocations: 81.52 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.833, allocations: 456.8 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.8331, allocations: 0 / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.235e-06/0.8331, allocations: 0 / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.8331, allocations: 0 / 1.028 GB, free: 10.33 MB / 0.7794 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.001162/0.8342, allocations: 0.6574 MB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.8343, allocations: 12.56 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.8358, allocations: 171.3 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.8363, allocations: 353.3 kB / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.8365, allocations: 71.39 kB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.8365, allocations: 12 kB / 1.029 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/0.8375, allocations: 457.2 kB / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8375, allocations: 0 / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.8375, allocations: 11.94 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.8375, allocations: 3.984 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.839, allocations: 0.6207 MB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.8408, allocations: 1.051 MB / 1.031 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00438/0.8452, allocations: 0.912 MB / 1.032 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.8459, allocations: 324.7 kB / 1.032 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.8459, allocations: 4 kB / 1.032 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009477/0.8469, allocations: 475 kB / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.175e-06/0.8469, allocations: 0 / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002407/0.8493, allocations: 0.9745 MB / 1.034 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.8494, allocations: 59.41 kB / 1.034 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.8499, allocations: 425.6 kB / 1.034 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.85, allocations: 33.7 kB / 1.034 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.8501, allocations: 176 kB / 1.034 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.8502, allocations: 51.25 kB / 1.035 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.8502, allocations: 4 kB / 1.035 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8503, allocations: 342.8 kB / 1.035 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008818/0.8512, allocations: 412.5 kB / 1.035 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007598/0.852, allocations: 389.8 kB / 1.036 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.8527, allocations: 369.5 kB / 1.036 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8527, allocations: 3.938 kB / 1.036 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001866/0.8546, allocations: 0.9373 MB / 1.037 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.8548, allocations: 41.69 kB / 1.037 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.8548, allocations: 7.938 kB / 1.037 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.8548, allocations: 0 / 1.037 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.8552, allocations: 79.84 kB / 1.037 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.8552, allocations: 4 kB / 1.037 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.8556, allocations: 59.8 kB / 1.037 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.8557, allocations: 7.984 kB / 1.037 GB, free: 0.6484 MB / 0.7794 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.0002632/0.8559, allocations: 193.8 kB / 1.037 GB, free: 460 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.856, allocations: 35.62 kB / 1.037 GB, free: 424 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.8561, allocations: 39.47 kB / 1.037 GB, free: 384 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.8561, allocations: 7.953 kB / 1.037 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8561, allocations: 0 / 1.037 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.8562, allocations: 3.984 kB / 1.037 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.8567, allocations: 0.5399 MB / 1.038 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8567, allocations: 3.938 kB / 1.038 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.8572, allocations: 75.86 kB / 1.038 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.8572, allocations: 3.984 kB / 1.038 GB, free: 15.69 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.8572, allocations: 15.94 kB / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.8572, allocations: 0 / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8572, allocations: 0 / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.8588, allocations: 0.6968 MB / 1.039 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.859, allocations: 156.7 kB / 1.039 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.8591, allocations: 11.98 kB / 1.039 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.8595, allocations: 63.89 kB / 1.039 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.8596, allocations: 19.97 kB / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.8596, allocations: 7.984 kB / 1.039 GB, free: 14.69 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003409/0.8599, allocations: 323 kB / 1.039 GB, free: 14.37 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.703e-06/0.86, allocations: 0 / 1.039 GB, free: 14.37 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003838/0.8603, allocations: 88.12 kB / 1.039 GB, free: 14.29 MB / 0.795 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.0002724/0.8606, allocations: 139.2 kB / 1.039 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.8623, allocations: 0.8035 MB / 1.04 GB, free: 13.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8623, allocations: 0 / 1.04 GB, free: 13.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000739/0.863, allocations: 340.7 kB / 1.041 GB, free: 12.99 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.8635, allocations: 77.5 kB / 1.041 GB, free: 12.92 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.8651, allocations: 0.8782 MB / 1.041 GB, free: 12.02 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.8655, allocations: 0.8143 MB / 1.042 GB, free: 11.18 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004504/0.866, allocations: 98.25 kB / 1.042 GB, free: 11.08 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.8661, allocations: 31.42 kB / 1.042 GB, free: 11.05 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.8661, allocations: 3.938 kB / 1.042 GB, free: 11.05 MB / 0.795 GB Notification: Performance of Templates: time 0.01129/0.8774, allocations: 6.457 MB / 1.049 GB, free: 4.668 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches