Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 205.5 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.633/1.633, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.515/3.515, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|varSpeDX.eva.vol.T|varSpeDX.sta_a1.T|varSpeDX.sta_a2.T|varSpeDX.sta_b2.T|varSpeDX.sta_a1.X.1.|varSpeDX.eva.vol.X_w|varSpeDX.eva.dxCoi.mWat_flow|varSpeDX.speRat|varSpeDX.P|varSpeDX.eva.dxCoi.Q_flow|varSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed") translateModel(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|varSpeDX.eva.vol.T|varSpeDX.sta_a1.T|varSpeDX.sta_a2.T|varSpeDX.sta_b2.T|varSpeDX.sta_a1.X.1.|varSpeDX.eva.vol.X_w|varSpeDX.eva.dxCoi.mWat_flow|varSpeDX.speRat|varSpeDX.P|varSpeDX.eva.dxCoi.Q_flow|varSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 64.47 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5349, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed): time 0.3835/0.9184, allocations: 271.9 MB / 1.593 GB, free: 128 kB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 1.257/2.175, allocations: 26.43 MB / 1.618 GB, free: 77.48 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00614/2.181, allocations: 111.8 kB / 1.619 GB, free: 77.48 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.007093/2.189, allocations: 1.678 MB / 1.62 GB, free: 77.47 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01779/2.206, allocations: 3.831 MB / 1.624 GB, free: 77.36 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01547/2.222, allocations: 4.221 MB / 1.628 GB, free: 77.26 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01799/2.24, allocations: 7.214 MB / 1.635 GB, free: 77.26 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006815/2.247, allocations: 2.446 MB / 1.637 GB, free: 77.06 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01232/2.259, allocations: 3.394 MB / 1.641 GB, free: 77.03 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007634/2.267, allocations: 2.416 MB / 1.643 GB, free: 77.03 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.002717/2.269, allocations: 0.5384 MB / 1.644 GB, free: 77.03 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01557/2.285, allocations: 4.062 MB / 1.648 GB, free: 76.98 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004403/2.289, allocations: 1.488 MB / 1.649 GB, free: 76.98 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.007986/2.297, allocations: 1.834 MB / 1.651 GB, free: 76.6 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02538/2.323, allocations: 10.46 MB / 1.661 GB, free: 75.66 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/2.323, allocations: 3.312 kB / 1.661 GB, free: 75.66 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.214e-06/2.323, allocations: 3.094 kB / 1.661 GB, free: 75.66 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002521/2.323, allocations: 1.062 kB / 1.661 GB, free: 75.66 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.02128/2.344, allocations: 5.402 MB / 1.666 GB, free: 73.2 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/2.344, allocations: 10.5 kB / 1.666 GB, free: 73.2 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02628/2.371, allocations: 2.852 MB / 1.669 GB, free: 72.97 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/2.382, allocations: 4.311 MB / 1.673 GB, free: 72.2 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004964/2.383, allocations: 490.2 kB / 1.674 GB, free: 71.84 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009303/2.384, allocations: 178.8 kB / 1.674 GB, free: 71.84 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/2.397, allocations: 4.25 MB / 1.678 GB, free: 71.54 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/2.397, allocations: 4.125 kB / 1.678 GB, free: 71.54 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003385/2.397, allocations: 65.66 kB / 1.678 GB, free: 71.54 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.49e-05/2.397, allocations: 64.62 kB / 1.678 GB, free: 71.54 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/2.415, allocations: 5.353 MB / 1.684 GB, free: 71.48 MB / 1.295 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.034/2.449, allocations: 13.19 MB / 1.696 GB, free: 65.62 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02095/2.47, allocations: 4.883 MB / 1.701 GB, free: 63.08 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008229/2.478, allocations: 2.417 MB / 1.704 GB, free: 61.79 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001943/2.48, allocations: 433.6 kB / 1.704 GB, free: 61.62 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009963/2.49, allocations: 2.978 MB / 1.707 GB, free: 59.86 MB / 1.295 GB Notification: Performance of pre-optimization done (n=126): time 6.181e-06/2.49, allocations: 0 / 1.707 GB, free: 59.86 MB / 1.295 GB Notification: Performance of matching and sorting (n=126): time 0.05978/2.55, allocations: 9.882 MB / 1.716 GB, free: 54.86 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/2.55, allocations: 126.3 kB / 1.717 GB, free: 54.73 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/2.562, allocations: 4.747 MB / 1.721 GB, free: 52.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/2.563, allocations: 74.05 kB / 1.721 GB, free: 52.14 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002234/2.565, allocations: 1.503 MB / 1.723 GB, free: 50.84 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/2.566, allocations: 433.3 kB / 1.723 GB, free: 50.48 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00221/2.568, allocations: 410.1 kB / 1.724 GB, free: 50.25 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001446/2.568, allocations: 363.3 kB / 1.724 GB, free: 49.91 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009018/2.577, allocations: 2.937 MB / 1.727 GB, free: 48.25 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009938/2.587, allocations: 3.757 MB / 1.73 GB, free: 45.69 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1785/2.766, allocations: 52.47 MB / 1.782 GB, free: 12.53 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/2.766, allocations: 4 kB / 1.782 GB, free: 12.53 MB / 1.311 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.04861/2.814, allocations: 8.417 MB / 1.79 GB, free: 4.082 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002625/2.815, allocations: 146.8 kB / 1.79 GB, free: 3.914 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/2.815, allocations: 4 kB / 1.79 GB, free: 3.91 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/2.819, allocations: 0.9988 MB / 1.791 GB, free: 2.898 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005277/2.824, allocations: 0.6131 MB / 1.792 GB, free: 2.297 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/2.836, allocations: 7.081 MB / 1.799 GB, free: 10.89 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00757/2.843, allocations: 0.5493 MB / 1.799 GB, free: 10.34 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/2.844, allocations: 103.9 kB / 1.799 GB, free: 10.23 MB / 1.326 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.watVapEva.off:DISCRETE(fixed = true protected = true final = true ) \"Signal, true when component is off\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01408/2.858, allocations: 4.095 MB / 1.803 GB, free: 6.105 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01125/2.869, allocations: 3.75 MB / 1.807 GB, free: 2.141 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1962/3.066, allocations: 52.4 MB / 1.858 GB, free: 13.58 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.258e-06/3.066, allocations: 0 / 1.858 GB, free: 13.58 MB / 1.389 GB Notification: Performance of matching and sorting (n=176) (initialization_lambda0): time 0.04803/3.114, allocations: 8.344 MB / 1.866 GB, free: 5.195 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002797/3.114, allocations: 146.8 kB / 1.866 GB, free: 5.027 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/3.114, allocations: 4 kB / 1.866 GB, free: 5.023 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004026/3.118, allocations: 0.9564 MB / 1.867 GB, free: 4.055 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005277/3.123, allocations: 0.6122 MB / 1.868 GB, free: 3.457 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009966/3.133, allocations: 6.625 MB / 1.874 GB, free: 12.5 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007856/3.141, allocations: 0.5377 MB / 1.875 GB, free: 11.96 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/3.142, allocations: 103.9 kB / 1.875 GB, free: 11.86 MB / 1.404 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.watVapEva.off:DISCRETE(fixed = true protected = true final = true ) \"Signal, true when component is off\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 28 (varSpeDX.eva.i_x,$PRE.varSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],$PRE.varSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],$PRE.varSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.watVapEva.off,$PRE.varSpeDX.eva.deaBan.y,varSpeDX.eva.dxCoi.wetCoi.coiCap.stage,varSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],varSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],varSpeDX.eva.dxCoi.wetCoi.shr.on,varSpeDX.eva.dxCoi.dryCoi.coiCap.stage,varSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],varSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],varSpeDX.eva.watVapEva.off,varSpeDX.eva.deaBan.y,speRat.a,speRat.b,speRat.last,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.nextEventScaled,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(7,3), (1,1), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001638/3.144, allocations: 325.5 kB / 1.875 GB, free: 11.55 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002478/3.146, allocations: 345.8 kB / 1.876 GB, free: 11.21 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04459/3.191, allocations: 7.197 MB / 1.883 GB, free: 3.996 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.629e-05/3.191, allocations: 15.16 kB / 1.883 GB, free: 3.984 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/3.191, allocations: 0 / 1.883 GB, free: 3.984 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005113/3.196, allocations: 1.077 MB / 1.884 GB, free: 2.906 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002067/3.198, allocations: 43.98 kB / 1.884 GB, free: 2.863 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006801/3.205, allocations: 443.4 kB / 1.884 GB, free: 2.43 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006834/3.206, allocations: 132.8 kB / 1.884 GB, free: 2.297 MB / 1.404 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02951/3.235, allocations: 5.792 MB / 1.89 GB, free: 12.48 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03225/3.267, allocations: 8.506 MB / 1.898 GB, free: 3.941 MB / 1.42 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009094/3.276, allocations: 2.445 MB / 1.901 GB, free: 1.488 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.009325/3.286, allocations: 3.363 MB / 1.904 GB, free: 14.14 MB / 1.436 GB Notification: Performance of Backend: time 3.51e-07/3.286, allocations: 0 / 1.904 GB, free: 14.14 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.03516/3.321, allocations: 8.9 MB / 1.913 GB, free: 5.172 MB / 1.436 GB Notification: Performance of SimCode: time 0.0204/3.341, allocations: 7.681 MB / 1.92 GB, free: 13.47 MB / 1.451 GB Notification: Performance of Templates: time 0.2508/3.592, allocations: 125.4 MB / 2.043 GB, free: 1.035 MB / 1.561 GB " [Timeout remaining time 296] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_WaterSource_Examples_VariableSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.664151408003818]