Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.001051/0.001051, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.00129/0.00129, allocations: 179 kB / 16.27 MB, free: 6.664 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.275/2.275, allocations: 443.4 MB / 0.7176 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.000289, allocations: 10.09 kB / 0.8797 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2187, allocations: 155.2 MB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0147/0.2334, allocations: 16.87 MB / 1.048 GB, free: 3.219 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005449/0.2389, allocations: 4.852 MB / 1.052 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.2391, allocations: 19.88 kB / 1.052 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.2397, allocations: 210.8 kB / 1.053 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0009561/0.2407, allocations: 0.5521 MB / 1.053 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.242, allocations: 0.6439 MB / 1.054 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001092/0.2431, allocations: 1.278 MB / 1.055 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.2434, allocations: 272.2 kB / 1.055 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.2439, allocations: 370.4 kB / 1.056 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.2443, allocations: 314.6 kB / 1.056 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.2443, allocations: 12 kB / 1.056 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009049/0.2452, allocations: 0.694 MB / 1.057 GB, free: 10 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.2453, allocations: 119.5 kB / 1.057 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.2456, allocations: 252.3 kB / 1.057 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008374/0.2464, allocations: 0.845 MB / 1.058 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2464, allocations: 4 kB / 1.058 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2464, allocations: 0 / 1.058 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.2464, allocations: 0 / 1.058 GB, free: 8.781 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009623/0.2474, allocations: 0.7878 MB / 1.059 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2474, allocations: 11.97 kB / 1.059 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.2475, allocations: 62.72 kB / 1.059 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.2476, allocations: 60.28 kB / 1.059 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.2481, allocations: 449.4 kB / 1.059 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.2482, allocations: 24.56 kB / 1.059 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.2482, allocations: 32 kB / 1.059 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.2487, allocations: 298.2 kB / 1.06 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.2487, allocations: 0 / 1.06 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.2487, allocations: 4 kB / 1.06 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2487, allocations: 15.94 kB / 1.06 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.2491, allocations: 198.1 kB / 1.06 GB, free: 6.742 MB / 0.8106 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.001669/0.2508, allocations: 1.484 MB / 1.061 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.2511, allocations: 162.8 kB / 1.061 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.2513, allocations: 88.8 kB / 1.061 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.2527, allocations: 1.284 MB / 1.063 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2527, allocations: 38.5 kB / 1.063 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.2527, allocations: 0 / 1.063 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0005717/0.2533, allocations: 270.2 kB / 1.063 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2533, allocations: 55.41 kB / 1.063 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.2539, allocations: 0.5847 MB / 1.064 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2539, allocations: 29.7 kB / 1.064 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.2541, allocations: 276.1 kB / 1.064 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.2542, allocations: 51.2 kB / 1.064 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.2542, allocations: 33.7 kB / 1.064 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2544, allocations: 362.8 kB / 1.064 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.2546, allocations: 76.52 kB / 1.064 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.2548, allocations: 226.7 kB / 1.065 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.2552, allocations: 246.9 kB / 1.065 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2553, allocations: 4 kB / 1.065 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005357/0.2558, allocations: 320.8 kB / 1.065 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.613e-05/0.2559, allocations: 159.2 kB / 1.065 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2559, allocations: 4 kB / 1.065 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2559, allocations: 4 kB / 1.065 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.2562, allocations: 63.91 kB / 1.065 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.2562, allocations: 11.94 kB / 1.065 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.2565, allocations: 51.66 kB / 1.065 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.2565, allocations: 20 kB / 1.065 GB, free: 396 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/0.2565, allocations: 7.922 kB / 1.065 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004484/0.257, allocations: 243.6 kB / 1.066 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.257, allocations: 4.094 kB / 1.066 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-06/0.257, allocations: 11.88 kB / 1.066 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.2572, allocations: 64.16 kB / 1.066 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2572, allocations: 4 kB / 1.066 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.2575, allocations: 43.72 kB / 1.066 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.2576, allocations: 16 kB / 1.066 GB, free: 0 / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001974/0.2578, allocations: 260.9 kB / 1.066 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.2578, allocations: 51.44 kB / 1.066 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.2584, allocations: 280.6 kB / 1.066 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.2584, allocations: 12 kB / 1.066 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2584, allocations: 3.984 kB / 1.066 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2584, allocations: 0 / 1.066 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.2593, allocations: 0.7447 MB / 1.067 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2593, allocations: 0 / 1.067 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.2595, allocations: 31.98 kB / 1.067 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2595, allocations: 0 / 1.067 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2595, allocations: 8 kB / 1.067 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.2595, allocations: 7.922 kB / 1.067 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2595, allocations: 4 kB / 1.067 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.2599, allocations: 358.3 kB / 1.068 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.2601, allocations: 156.3 kB / 1.068 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.2601, allocations: 7.984 kB / 1.068 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.2603, allocations: 19.98 kB / 1.068 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.2604, allocations: 16.11 kB / 1.068 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2604, allocations: 8 kB / 1.068 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003995/0.2608, allocations: 422.8 kB / 1.068 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2608, allocations: 4 kB / 1.068 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006466/0.2615, allocations: 235.6 kB / 1.068 GB, free: 13.28 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001554/0.263, allocations: 1.287 MB / 1.07 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006293/0.2637, allocations: 334 kB / 1.07 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2637, allocations: 192 / 1.07 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.2639, allocations: 95.89 kB / 1.07 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.2651, allocations: 249.7 kB / 1.07 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.2698, allocations: 4.201 MB / 1.074 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.2702, allocations: 0.8468 MB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002946/0.2705, allocations: 108.2 kB / 1.075 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.2707, allocations: 159.4 kB / 1.075 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2707, allocations: 0 / 1.075 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.497/1.768, allocations: 14.2 MB / 1.089 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/1.768, allocations: 261.1 kB / 1.09 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/3.84, allocations: 0 / 1.09 GB, free: 7.73 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches