Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.DXSystems.Cooling.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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.DXSystems.Cooling.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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.001656/0.001656, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.432/1.432, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 469.4 MB / 0.7428 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 64.09 kB / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.043, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.005206/1.048, allocations: 2.955 MB / 1.224 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1835/1.232, allocations: 154.7 MB / 1.375 GB, free: 4.102 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004588/1.232, allocations: 4 kB / 1.375 GB, free: 4.098 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/1.234, allocations: 0.5423 MB / 1.375 GB, free: 3.555 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002334/1.236, allocations: 0.6998 MB / 1.376 GB, free: 2.852 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/1.239, allocations: 0.6575 MB / 1.377 GB, free: 2.195 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002184/1.241, allocations: 1.342 MB / 1.378 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/1.241, allocations: 198.3 kB / 1.378 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007829/1.242, allocations: 0.4942 MB / 1.379 GB, free: 152 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/1.244, allocations: 0.6304 MB / 1.379 GB, free: 15.52 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003682/1.244, allocations: 96 kB / 1.379 GB, free: 15.42 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/1.247, allocations: 1.197 MB / 1.381 GB, free: 14.22 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005481/1.247, allocations: 394.7 kB / 1.381 GB, free: 13.84 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/1.249, allocations: 0.68 MB / 1.382 GB, free: 13.15 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004722/1.253, allocations: 2.804 MB / 1.384 GB, free: 10.34 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.253, allocations: 0 / 1.384 GB, free: 10.34 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.282e-06/1.253, allocations: 0 / 1.384 GB, free: 10.34 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.909e-05/1.254, allocations: 0 / 1.384 GB, free: 10.34 MB / 1.107 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.00574/1.259, allocations: 2.076 MB / 1.386 GB, free: 8.199 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.259, allocations: 8.625 kB / 1.386 GB, free: 8.191 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/1.276, allocations: 1.77 MB / 1.388 GB, free: 6.418 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/1.28, allocations: 1.448 MB / 1.39 GB, free: 4.922 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/1.28, allocations: 20 kB / 1.39 GB, free: 4.902 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/1.28, allocations: 24 kB / 1.39 GB, free: 4.879 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005471/1.285, allocations: 1.034 MB / 1.391 GB, free: 3.828 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/1.285, allocations: 3.984 kB / 1.391 GB, free: 3.824 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/1.286, allocations: 8 kB / 1.391 GB, free: 3.816 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/1.286, allocations: 4 kB / 1.391 GB, free: 3.812 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/1.296, allocations: 1.666 MB / 1.392 GB, free: 2.145 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/1.308, allocations: 3.47 MB / 1.396 GB, free: 14.51 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/1.318, allocations: 1.766 MB / 1.397 GB, free: 12.73 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004863/1.323, allocations: 0.8396 MB / 1.398 GB, free: 11.89 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007976/1.324, allocations: 0.522 MB / 1.399 GB, free: 11.25 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00507/1.329, allocations: 0.9761 MB / 1.4 GB, free: 10.26 MB / 1.123 GB Notification: Performance of pre-optimization done (n=23): time 4.268e-06/1.329, allocations: 0 / 1.4 GB, free: 10.26 MB / 1.123 GB Notification: Performance of matching and sorting (n=23): time 0.01603/1.345, allocations: 2.711 MB / 1.402 GB, free: 7.531 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/1.345, allocations: 110.8 kB / 1.402 GB, free: 7.398 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005305/1.35, allocations: 2.48 MB / 1.405 GB, free: 4.914 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002118/1.351, allocations: 33.7 kB / 1.405 GB, free: 4.875 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007666/1.351, allocations: 0.5938 MB / 1.405 GB, free: 4.277 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/1.352, allocations: 63.09 kB / 1.405 GB, free: 4.215 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/1.352, allocations: 125.6 kB / 1.406 GB, free: 4.086 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.352, allocations: 329.9 kB / 1.406 GB, free: 3.758 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005029/1.357, allocations: 0.9805 MB / 1.407 GB, free: 2.773 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005168/1.362, allocations: 1.019 MB / 1.408 GB, free: 1.75 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009355/1.372, allocations: 1.669 MB / 1.409 GB, free: 60 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.372, allocations: 0 / 1.409 GB, free: 60 kB / 1.123 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01268/1.384, allocations: 2.533 MB / 1.412 GB, free: 13.5 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/1.384, allocations: 41.69 kB / 1.412 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.384, allocations: 0 / 1.412 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00364/1.388, allocations: 0.8068 MB / 1.413 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/1.391, allocations: 403.3 kB / 1.413 GB, free: 12.23 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009639/1.401, allocations: 7.954 MB / 1.421 GB, free: 3.719 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/1.405, allocations: 363 kB / 1.421 GB, free: 3.363 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.405, allocations: 31.97 kB / 1.421 GB, free: 3.332 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005921/1.411, allocations: 1.487 MB / 1.423 GB, free: 1.84 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005001/1.416, allocations: 0.9952 MB / 1.424 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009174/1.425, allocations: 1.654 MB / 1.425 GB, free: 15.17 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/1.425, allocations: 0 / 1.425 GB, free: 15.17 MB / 1.154 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.01129/1.436, allocations: 2.357 MB / 1.428 GB, free: 12.78 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/1.436, allocations: 29.7 kB / 1.428 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.436, allocations: 4 kB / 1.428 GB, free: 12.74 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/1.438, allocations: 0.6276 MB / 1.428 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/1.442, allocations: 399.3 kB / 1.429 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006238/1.448, allocations: 6.631 MB / 1.435 GB, free: 4.52 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/1.451, allocations: 355.2 kB / 1.435 GB, free: 4.172 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/1.452, allocations: 39.95 kB / 1.436 GB, free: 4.133 MB / 1.154 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.0003573/1.452, allocations: 230.5 kB / 1.436 GB, free: 3.895 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005557/1.453, allocations: 154 kB / 1.436 GB, free: 3.742 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.463, allocations: 1.941 MB / 1.438 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/1.463, allocations: 0 / 1.438 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/1.463, allocations: 0 / 1.438 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.464, allocations: 427 kB / 1.438 GB, free: 1.34 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005005/1.465, allocations: 8 kB / 1.438 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003098/1.468, allocations: 303.5 kB / 1.438 GB, free: 1.035 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.468, allocations: 27.92 kB / 1.439 GB, free: 1.008 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01186/1.48, allocations: 2.107 MB / 1.441 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01017/1.49, allocations: 2.006 MB / 1.443 GB, free: 12.84 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004893/1.495, allocations: 0.8715 MB / 1.443 GB, free: 11.97 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003774/1.499, allocations: 1.768 MB / 1.445 GB, free: 10.21 MB / 1.17 GB Notification: Performance of Backend: time 7.32e-07/1.499, allocations: 4 kB / 1.445 GB, free: 10.2 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01559/1.514, allocations: 3.909 MB / 1.449 GB, free: 6.156 MB / 1.17 GB Notification: Performance of SimCode: time 0.00619/1.52, allocations: 3.337 MB / 1.452 GB, free: 2.758 MB / 1.17 GB Notification: Performance of Templates: time 0.05878/1.579, allocations: 39.04 MB / 1.49 GB, free: 11.89 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches