Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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.001693/0.001693, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002111/0.002111, allocations: 208 kB / 22.24 MB, free: 5.262 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.785 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.183/3.183, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) [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.002873/0.002873, allocations: 67.3 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3128, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003519/0.3163, allocations: 1.708 MB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3177, allocations: 0.7324 MB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.464e-05/0.3178, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.208e-05/0.3179, allocations: 15.8 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.318, allocations: 27.78 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.3185, allocations: 99.66 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.3187, allocations: 115.6 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3188, allocations: 25.28 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3189, allocations: 39.86 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.319, allocations: 47.77 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.319, allocations: 8 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.3193, allocations: 115.9 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.3194, allocations: 27.92 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.3194, allocations: 43.73 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.3198, allocations: 167.3 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3198, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3198, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3198, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007006/0.3205, allocations: 379.5 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3205, allocations: 12.03 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.3206, allocations: 38.75 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.3206, allocations: 12.89 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3207, allocations: 130.3 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3208, allocations: 8.375 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3208, allocations: 8.375 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.3211, allocations: 123.6 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3211, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3211, allocations: 4 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3212, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.3215, allocations: 115.9 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.3221, allocations: 351.5 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.3225, allocations: 110.6 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.3227, allocations: 56.83 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.323, allocations: 47.95 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.323, allocations: 30.56 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.323, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006685/0.3237, allocations: 197.3 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.3237, allocations: 55.41 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3239, allocations: 163.3 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3239, allocations: 33.64 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.324, allocations: 100.1 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.324, allocations: 35.67 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.3241, allocations: 25.7 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3242, allocations: 322.8 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.3244, allocations: 43.97 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.3246, allocations: 47.95 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.3249, allocations: 96.78 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3249, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003865/0.3253, allocations: 146 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3253, allocations: 11.94 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3253, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3253, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.3255, allocations: 23.92 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3255, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3256, allocations: 20.03 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3256, allocations: 7.938 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 prepare postOptimizeDAE: time 0.0001019/0.3257, allocations: 118.4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.3257, allocations: 15.89 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.3262, allocations: 158.9 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3262, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3262, allocations: 12 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3262, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.3264, allocations: 164.7 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3264, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.3266, allocations: 23.98 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3266, allocations: 3.938 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3266, allocations: 0 / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3266, allocations: 0 / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3266, allocations: 0 / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.327, allocations: 243.4 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.3271, allocations: 23.83 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3271, allocations: 4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.3272, allocations: 15.97 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.3273, allocations: 7.984 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.3273, allocations: 7.938 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001064/0.3274, allocations: 124 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3274, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002674/0.3277, allocations: 35.88 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0008196/0.3285, allocations: 0.7866 MB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003921/0.3289, allocations: 103.9 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3289, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.3291, allocations: 51.95 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.3295, allocations: 40.48 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.3319, allocations: 1.771 MB / 1.334 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.39e-05/0.332, allocations: 91.97 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.981e-05/0.3321, allocations: 12.48 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.3321, allocations: 31.42 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of SimCode: time 8.51e-07/0.3321, allocations: 4 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03942/0.3716, allocations: 3.922 MB / 1.338 GB, free: 4.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.77, allocations: 6.062 kB / 1.338 GB, free: 4.48 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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: 18.322384008206427]