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.001889/0.001889, allocations: 103 kB / 16.45 MB, free: 6.449 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.002339/0.002339, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.439/1.439, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.186/3.186, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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: "" <> 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.002195/0.002195, allocations: 75.64 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3227, allocations: 176.1 MB / 1.321 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003257/0.3259, allocations: 1.754 MB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3274, allocations: 0.7868 MB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.3274, allocations: 0 / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.3275, allocations: 11.86 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.457e-05/0.3276, allocations: 27.73 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.328, allocations: 103.6 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3282, allocations: 111.6 kB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3283, allocations: 29.09 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.801e-05/0.3284, allocations: 43.86 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.3284, allocations: 47.77 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3285, allocations: 8 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.3288, allocations: 127.8 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.3288, allocations: 23.92 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.3289, allocations: 47.73 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.3292, allocations: 167.4 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3292, allocations: 0 / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3292, allocations: 0 / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3292, allocations: 3.938 kB / 1.324 GB, free: 15.98 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.0007453/0.3299, allocations: 454.6 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.33, allocations: 15.98 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.093e-05/0.33, allocations: 50.67 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.3301, allocations: 12.89 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3302, allocations: 176.2 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3303, allocations: 4.375 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.3303, allocations: 12.38 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.3306, allocations: 127.6 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3306, allocations: 3.984 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.3307, allocations: 12 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3307, allocations: 4 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.3311, allocations: 103.9 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.3316, allocations: 396.4 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.332, allocations: 102.6 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.3322, allocations: 56.81 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005201/0.3327, allocations: 0.5661 MB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3327, allocations: 34.56 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3327, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0007122/0.3334, allocations: 189.4 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.3335, allocations: 59.41 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3336, allocations: 163.3 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3337, allocations: 29.7 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.3337, allocations: 104.1 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.3338, allocations: 31.73 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.3338, allocations: 25.7 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.334, allocations: 318.8 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.3342, allocations: 47.97 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3343, allocations: 48.33 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.3347, allocations: 100.8 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3347, allocations: 0 / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004449/0.3351, allocations: 149.5 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3351, allocations: 7.938 kB / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3352, allocations: 4 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3352, allocations: 0 / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.3353, allocations: 27.92 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3353, allocations: 0 / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.3355, allocations: 15.94 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.3355, allocations: 15.97 kB / 1.327 GB, free: 12.21 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 9.789e-05/0.3356, allocations: 116.7 kB / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.3356, allocations: 11.89 kB / 1.327 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.3361, allocations: 162.9 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3361, allocations: 4 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3361, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3361, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3364, allocations: 213.5 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3364, allocations: 0 / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.3365, allocations: 27.91 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3365, allocations: 3.938 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3365, allocations: 4 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3365, allocations: 0 / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3365, allocations: 0 / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.337, allocations: 243.5 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.3371, allocations: 100.9 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3372, allocations: 4 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3373, allocations: 15.98 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.3373, allocations: 11.98 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.3373, allocations: 4 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001804/0.3375, allocations: 124 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3375, allocations: 0 / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002814/0.3378, allocations: 23.94 kB / 1.328 GB, free: 11.06 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.0009659/0.3388, allocations: 0.7943 MB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.3392, allocations: 103.8 kB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3392, allocations: 0 / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.3394, allocations: 63.89 kB / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3398, allocations: 24.48 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.3426, allocations: 1.784 MB / 1.331 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3429, allocations: 0.7078 MB / 1.332 GB, free: 7.449 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.922e-05/0.343, allocations: 12.55 kB / 1.332 GB, free: 7.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.343, allocations: 27.44 kB / 1.332 GB, free: 7.41 MB / 1.029 GB Notification: Performance of SimCode: time 1.142e-06/0.343, allocations: 0 / 1.332 GB, free: 7.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.3717, allocations: 3.256 MB / 1.335 GB, free: 4.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.424, allocations: 10.27 kB / 1.335 GB, free: 4.309 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.99283477012068]