Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 115.9 kB / 16.37 MB, free: 6.012 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.001035/0.001035, allocations: 190.6 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 69.77 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2457, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002819/0.2486, allocations: 1.747 MB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.2496, allocations: 0.7253 MB / 0.9536 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.2497, allocations: 0 / 0.9536 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.2497, allocations: 7.875 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.2498, allocations: 27.72 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.2502, allocations: 102.6 kB / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.2503, allocations: 111.6 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2505, allocations: 33.11 kB / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.2505, allocations: 43.84 kB / 0.9539 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.2506, allocations: 55.7 kB / 0.9539 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.2506, allocations: 12 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.2509, allocations: 111.9 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.2509, allocations: 15.92 kB / 0.9541 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.2509, allocations: 55.72 kB / 0.9541 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.2512, allocations: 163.4 kB / 0.9543 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2512, allocations: 0 / 0.9543 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2512, allocations: 0 / 0.9543 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2512, allocations: 0 / 0.9543 GB, free: 4.836 MB / 0.7325 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.0005947/0.2518, allocations: 443 kB / 0.9547 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2518, allocations: 8.031 kB / 0.9547 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.2519, allocations: 12.78 kB / 0.9547 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.252, allocations: 184.1 kB / 0.9549 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.252, allocations: 4.375 kB / 0.9549 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.252, allocations: 12.12 kB / 0.9549 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.2523, allocations: 129.5 kB / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2524, allocations: 0 / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.2524, allocations: 7.984 kB / 0.955 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2524, allocations: 0 / 0.955 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.2527, allocations: 111.8 kB / 0.9551 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.2532, allocations: 408.2 kB / 0.9555 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.2535, allocations: 98.56 kB / 0.9556 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.2537, allocations: 60.86 kB / 0.9557 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004362/0.2542, allocations: 0.5661 MB / 0.9562 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.2542, allocations: 34.5 kB / 0.9563 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 3.466e-06/0.2542, allocations: 0 / 0.9563 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005825/0.2548, allocations: 185.4 kB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.2548, allocations: 59.41 kB / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.255, allocations: 163.3 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.255, allocations: 29.7 kB / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.255, allocations: 100.1 kB / 0.9568 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.2551, allocations: 31.55 kB / 0.9568 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.2551, allocations: 21.72 kB / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2552, allocations: 322.8 kB / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.2554, allocations: 51.95 kB / 0.9572 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.2556, allocations: 39.97 kB / 0.9572 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.2559, allocations: 97.28 kB / 0.9573 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2559, allocations: 4 kB / 0.9573 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000374/0.2563, allocations: 149.3 kB / 0.9575 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2563, allocations: 10.03 kB / 0.9575 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2563, allocations: 0 / 0.9575 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2563, allocations: 0 / 0.9575 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.2565, allocations: 27.92 kB / 0.9575 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2565, allocations: 7.984 kB / 0.9575 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.2566, allocations: 19.89 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.2566, allocations: 4 kB / 0.9575 GB, free: 1.137 MB / 0.7325 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 7.438e-05/0.2567, allocations: 115.8 kB / 0.9576 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.2567, allocations: 15.84 kB / 0.9577 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.2572, allocations: 162.9 kB / 0.9578 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2572, allocations: 0 / 0.9578 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2572, allocations: 0 / 0.9578 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2572, allocations: 0 / 0.9578 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.2574, allocations: 213.6 kB / 0.958 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2574, allocations: 3.938 kB / 0.958 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.2575, allocations: 19.98 kB / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2576, allocations: 4 kB / 0.958 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2576, allocations: 0 / 0.958 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2576, allocations: 4 kB / 0.958 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2576, allocations: 0 / 0.958 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.258, allocations: 243.3 kB / 0.9583 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.2581, allocations: 96.94 kB / 0.9584 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.2581, allocations: 4 kB / 0.9584 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2582, allocations: 23.91 kB / 0.9584 GB, free: 152 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.2583, allocations: 7.938 kB / 0.9584 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.2583, allocations: 4 kB / 0.9584 GB, free: 140 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.903e-05/0.2584, allocations: 132.9 kB / 0.9585 GB, free: 8 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2584, allocations: 0 / 0.9585 GB, free: 8 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000268/0.2586, allocations: 24.05 kB / 0.9586 GB, free: 15.98 MB / 0.7481 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.0001529/0.2588, allocations: 107.2 kB / 0.9587 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.2592, allocations: 111.8 kB / 0.9588 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2592, allocations: 0 / 0.9588 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.2594, allocations: 55.95 kB / 0.9588 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.2597, allocations: 38.95 kB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.2601, allocations: 232.4 kB / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2604, allocations: 0.7039 MB / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.474e-05/0.2605, allocations: 16.53 kB / 0.9598 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.2605, allocations: 15.44 kB / 0.9598 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.2605, allocations: 0 / 0.9598 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.004035/0.2646, allocations: 1.605 MB / 0.9614 GB, free: 13.07 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches