Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006769/0.006769, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001605/0.001605, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 71.89 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3173, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003235/0.3206, allocations: 1.731 MB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.322, allocations: 0.7214 MB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3221, allocations: 4 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.286e-05/0.3222, allocations: 11.86 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.3223, allocations: 15.75 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.3228, allocations: 95.75 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.323, allocations: 123.5 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3231, allocations: 37.05 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.3232, allocations: 39.86 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.3233, allocations: 51.77 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.3234, allocations: 15.94 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.3236, allocations: 111.9 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.3237, allocations: 19.92 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/0.3237, allocations: 47.73 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.324, allocations: 159.5 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3241, allocations: 4 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3241, allocations: 0 / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3241, allocations: 0 / 1.21 GB, free: 6.906 MB / 0.9669 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.0007025/0.3248, allocations: 443 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3248, allocations: 8.625 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.3249, allocations: 42.73 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.3249, allocations: 16.75 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.3251, allocations: 182.6 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.3251, allocations: 8.375 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3251, allocations: 12.38 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.3255, allocations: 121.7 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3255, allocations: 0 / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3255, allocations: 4 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3255, allocations: 4 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.3259, allocations: 115.8 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.3265, allocations: 400.3 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.3269, allocations: 106.4 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.3271, allocations: 68.86 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004994/0.3276, allocations: 0.5583 MB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.3276, allocations: 34.56 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 2.925e-06/0.3276, allocations: 0 / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0006143/0.3282, allocations: 197.3 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.3283, allocations: 55.34 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3284, allocations: 159.4 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3285, allocations: 25.7 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.3285, allocations: 104.1 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.3286, allocations: 31.53 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.3286, allocations: 25.72 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3288, allocations: 322.8 kB / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.3289, allocations: 51.89 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3291, allocations: 43.95 kB / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.3293, allocations: 92.8 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3294, allocations: 4.562 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003457/0.3297, allocations: 145.4 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3297, allocations: 11.94 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3297, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3298, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3299, allocations: 27.97 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3299, allocations: 4 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3301, allocations: 23.83 kB / 1.214 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.3301, allocations: 0 / 1.214 GB, free: 3.148 MB / 0.9669 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.0001017/0.3302, allocations: 121.8 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.3302, allocations: 19.75 kB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.3307, allocations: 154.9 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3307, allocations: 0 / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3307, allocations: 0 / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3307, allocations: 0 / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.3309, allocations: 209.6 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3309, allocations: 0 / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.3311, allocations: 23.98 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.3311, allocations: 3.938 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3311, allocations: 4 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3311, allocations: 4 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3311, allocations: 3.984 kB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.3315, allocations: 231.3 kB / 1.214 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.241e-05/0.3316, allocations: 100.8 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3316, allocations: 11.98 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3318, allocations: 7.984 kB / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.3318, allocations: 11.94 kB / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.3318, allocations: 4 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.389e-05/0.3319, allocations: 129.1 kB / 1.215 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3319, allocations: 0 / 1.215 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002579/0.3322, allocations: 24 kB / 1.215 GB, free: 2.004 MB / 0.9669 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.0008107/0.333, allocations: 0.7902 MB / 1.216 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003842/0.3334, allocations: 107.9 kB / 1.216 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3334, allocations: 0 / 1.216 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.3336, allocations: 59.89 kB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.3341, allocations: 33.98 kB / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.3363, allocations: 1.773 MB / 1.217 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.3367, allocations: 0.7041 MB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.781e-05/0.3367, allocations: 4.562 kB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.3368, allocations: 35.42 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3368, allocations: 4 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.3583, allocations: 3.136 MB / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.032, allocations: 14.09 kB / 1.221 GB, free: 11.38 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches