Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009909/0.0009909, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 172.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.629/2.629, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004127, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8025/0.8029, allocations: 142.4 MB / 0.9557 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.002893/0.8059, allocations: 2.502 MB / 0.9582 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1978/1.004, allocations: 150.7 MB / 1.105 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006218/1.004, allocations: 4 kB / 1.105 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001982/1.006, allocations: 0.4939 MB / 1.106 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/1.009, allocations: 0.5912 MB / 1.106 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/1.011, allocations: 0.5659 MB / 1.107 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001785/1.013, allocations: 1.245 MB / 1.108 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/1.013, allocations: 186.4 kB / 1.108 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008698/1.014, allocations: 418.2 kB / 1.109 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/1.015, allocations: 0.568 MB / 1.109 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000314/1.016, allocations: 63.94 kB / 1.109 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/1.019, allocations: 1.244 MB / 1.111 GB, free: 288 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005299/1.019, allocations: 338.8 kB / 1.111 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/1.021, allocations: 0.6311 MB / 1.111 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003101/1.024, allocations: 2.186 MB / 1.114 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.024, allocations: 0 / 1.114 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.076e-06/1.024, allocations: 0 / 1.114 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.128e-05/1.024, allocations: 8 kB / 1.114 GB, free: 13.11 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.004581/1.028, allocations: 1.809 MB / 1.115 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.028, allocations: 8.031 kB / 1.115 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/1.045, allocations: 2.187 MB / 1.118 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/1.048, allocations: 1.369 MB / 1.119 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/1.048, allocations: 16 kB / 1.119 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/1.048, allocations: 20 kB / 1.119 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005486/1.053, allocations: 1.218 MB / 1.12 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.053, allocations: 0 / 1.12 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/1.053, allocations: 11.92 kB / 1.12 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.053, allocations: 11.88 kB / 1.12 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/1.064, allocations: 2.068 MB / 1.122 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/1.076, allocations: 3.652 MB / 1.126 GB, free: 456 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/1.087, allocations: 2.157 MB / 1.128 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005024/1.092, allocations: 1.047 MB / 1.129 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007957/1.092, allocations: 0.5259 MB / 1.129 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005225/1.098, allocations: 1.179 MB / 1.131 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 3.998e-06/1.098, allocations: 0 / 1.131 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.01669/1.114, allocations: 3.305 MB / 1.134 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/1.115, allocations: 110.8 kB / 1.134 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004075/1.119, allocations: 2.401 MB / 1.136 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002215/1.119, allocations: 41.7 kB / 1.136 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/1.119, allocations: 0.5504 MB / 1.137 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/1.12, allocations: 70.98 kB / 1.137 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.12, allocations: 45.7 kB / 1.137 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.12, allocations: 329.9 kB / 1.137 GB, free: 4.473 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00541/1.125, allocations: 1.179 MB / 1.138 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005389/1.131, allocations: 1.222 MB / 1.14 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/1.141, allocations: 2.044 MB / 1.142 GB, free: 4 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/1.141, allocations: 4 kB / 1.142 GB, free: 0 / 0.8887 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01338/1.154, allocations: 2.92 MB / 1.144 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/1.154, allocations: 135.6 kB / 1.145 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.154, allocations: 0 / 1.145 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003765/1.158, allocations: 0.8108 MB / 1.145 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/1.162, allocations: 0.4915 MB / 1.146 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009424/1.171, allocations: 7.435 MB / 1.153 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/1.175, allocations: 467 kB / 1.153 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/1.175, allocations: 31.97 kB / 1.154 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/1.175, allocations: 4 kB / 1.154 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01145/1.187, allocations: 2.619 MB / 1.156 GB, free: 500 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.187, allocations: 0 / 1.156 GB, free: 500 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/1.189, allocations: 0.6355 MB / 1.157 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/1.192, allocations: 495.3 kB / 1.157 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006463/1.199, allocations: 6.188 MB / 1.163 GB, free: 8.629 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/1.202, allocations: 455.2 kB / 1.164 GB, free: 8.184 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/1.203, allocations: 31.97 kB / 1.164 GB, free: 8.152 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,appDryPt.stage,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001249/1.204, allocations: 0.6719 MB / 1.164 GB, free: 7.465 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/1.204, allocations: 142.2 kB / 1.164 GB, free: 7.324 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.215, allocations: 2.321 MB / 1.167 GB, free: 4.988 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.215, allocations: 3.984 kB / 1.167 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.215, allocations: 4 kB / 1.167 GB, free: 4.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.215, allocations: 0 / 1.167 GB, free: 4.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/1.218, allocations: 1.246 MB / 1.168 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.218, allocations: 0 / 1.168 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002902/1.221, allocations: 447.4 kB / 1.168 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/1.221, allocations: 4 kB / 1.168 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/1.221, allocations: 15.98 kB / 1.168 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/1.221, allocations: 7.984 kB / 1.168 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.221, allocations: 0 / 1.168 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/1.232, allocations: 2.248 MB / 1.171 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.233, allocations: 419.1 kB / 1.171 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/1.233, allocations: 8 kB / 1.171 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/1.236, allocations: 395.5 kB / 1.171 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.236, allocations: 27.95 kB / 1.171 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.925e-05/1.236, allocations: 23.97 kB / 1.171 GB, free: 40 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003048/1.239, allocations: 1.722 MB / 1.173 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.239, allocations: 0 / 1.173 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001822/1.241, allocations: 0.539 MB / 1.174 GB, free: 13.78 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0005989/1.242, allocations: 232 kB / 1.174 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0187/1.261, allocations: 4.989 MB / 1.179 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.261, allocations: 0 / 1.179 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005208/1.266, allocations: 1.152 MB / 1.18 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.268, allocations: 312.9 kB / 1.18 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/1.29, allocations: 5.102 MB / 1.185 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.291, allocations: 1.387 MB / 1.187 GB, free: 412 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/1.292, allocations: 99.34 kB / 1.187 GB, free: 312 kB / 0.9356 GB Notification: Performance of SimCode: time 8.62e-07/1.292, allocations: 0 / 1.187 GB, free: 312 kB / 0.9356 GB Notification: Performance of Templates: time 0.05435/1.346, allocations: 38.34 MB / 1.224 GB, free: 10.03 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches