Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.0008699/0.0008698, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005024/0.005024, allocations: 170 kB / 16.26 MB, free: 6.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.184/1.184, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.495/2.495, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 8.906 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2368, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01289/0.2498, allocations: 14.98 MB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005028/0.2548, allocations: 4.293 MB / 1.078 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000324/0.2552, allocations: 15.88 kB / 1.078 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006763/0.2559, allocations: 214.9 kB / 1.078 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.257, allocations: 0.5482 MB / 1.078 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.2585, allocations: 0.6381 MB / 1.079 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.2598, allocations: 1.298 MB / 1.08 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.2602, allocations: 292.1 kB / 1.081 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005557/0.2608, allocations: 378.2 kB / 1.081 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.2611, allocations: 318.6 kB / 1.081 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.2612, allocations: 16 kB / 1.081 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008712/0.2621, allocations: 0.5965 MB / 1.082 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.2622, allocations: 95.53 kB / 1.082 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.2623, allocations: 228.4 kB / 1.082 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007474/0.2631, allocations: 0.7359 MB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2631, allocations: 0 / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2631, allocations: 0 / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2631, allocations: 3.938 kB / 1.083 GB, free: 12.13 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009625/0.2641, allocations: 0.7515 MB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2641, allocations: 11.97 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.2642, allocations: 54.73 kB / 1.084 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.2643, allocations: 52.28 kB / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.2648, allocations: 417.1 kB / 1.084 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2648, allocations: 20.44 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.2648, allocations: 24 kB / 1.084 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.2652, allocations: 223.2 kB / 1.084 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2652, allocations: 3.938 kB / 1.084 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.2653, allocations: 8 kB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2653, allocations: 7.984 kB / 1.084 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.2656, allocations: 177.6 kB / 1.085 GB, free: 10.3 MB / 0.8419 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.001353/0.267, allocations: 0.9573 MB / 1.085 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.2673, allocations: 138.5 kB / 1.086 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.2674, allocations: 84.81 kB / 1.086 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.2677, allocations: 332.4 kB / 1.086 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.2677, allocations: 34.56 kB / 1.086 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.2677, allocations: 0 / 1.086 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0005681/0.2683, allocations: 267.5 kB / 1.086 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.2683, allocations: 51.41 kB / 1.086 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.2688, allocations: 470 kB / 1.087 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.2688, allocations: 33.7 kB / 1.087 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.269, allocations: 236.6 kB / 1.087 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.269, allocations: 55.2 kB / 1.087 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.2691, allocations: 25.7 kB / 1.087 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2692, allocations: 354.7 kB / 1.087 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2694, allocations: 71.95 kB / 1.087 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.2696, allocations: 165.8 kB / 1.088 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.2699, allocations: 172.2 kB / 1.088 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.27, allocations: 4 kB / 1.088 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000473/0.2704, allocations: 257 kB / 1.088 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.2705, allocations: 110.7 kB / 1.088 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2705, allocations: 0 / 1.088 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2705, allocations: 4 kB / 1.088 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.2707, allocations: 47.91 kB / 1.088 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2707, allocations: 3.938 kB / 1.088 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.2711, allocations: 47.72 kB / 1.088 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.2711, allocations: 15.98 kB / 1.088 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-06/0.2711, allocations: 5.719 kB / 1.088 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003827/0.2715, allocations: 187.8 kB / 1.088 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-06/0.2715, allocations: 0 / 1.088 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/0.2715, allocations: 0 / 1.088 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.2717, allocations: 51.91 kB / 1.089 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.2717, allocations: 0 / 1.089 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.272, allocations: 47.81 kB / 1.089 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2721, allocations: 15.94 kB / 1.089 GB, free: 5.844 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001663/0.2722, allocations: 248.9 kB / 1.089 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.2723, allocations: 43.44 kB / 1.089 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/0.2728, allocations: 263 kB / 1.089 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2728, allocations: 0 / 1.089 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2728, allocations: 0 / 1.089 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2728, allocations: 3.938 kB / 1.089 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008705/0.2737, allocations: 0.7161 MB / 1.09 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2737, allocations: 0 / 1.09 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.2738, allocations: 27.98 kB / 1.09 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2738, allocations: 8.125 kB / 1.09 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.2739, allocations: 11.98 kB / 1.09 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2739, allocations: 3.938 kB / 1.09 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2739, allocations: 7.938 kB / 1.09 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.2743, allocations: 342.3 kB / 1.09 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.2744, allocations: 144.4 kB / 1.09 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.2745, allocations: 4 kB / 1.09 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.2747, allocations: 39.81 kB / 1.09 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.2748, allocations: 11.98 kB / 1.09 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.2748, allocations: 8 kB / 1.09 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003099/0.2751, allocations: 338.8 kB / 1.091 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2751, allocations: 0 / 1.091 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005335/0.2756, allocations: 199.7 kB / 1.091 GB, free: 3.324 MB / 0.8419 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 (16): * Single equations (assignments): 14 * 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.001501/0.2772, allocations: 1.258 MB / 1.092 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005661/0.2777, allocations: 277.3 kB / 1.092 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2777, allocations: 7.938 kB / 1.092 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.2779, allocations: 87.89 kB / 1.092 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.2792, allocations: 216.6 kB / 1.093 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.2831, allocations: 3.55 MB / 1.096 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2835, allocations: 0.8272 MB / 1.097 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.2837, allocations: 91.77 kB / 1.097 GB, free: 13 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.2839, allocations: 143.4 kB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of SimCode: time 1.754e-06/0.2839, allocations: 0 / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.505/5.788, allocations: 12.18 MB / 1.109 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/5.789, allocations: 256.8 kB / 1.109 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/7.756, allocations: 3.938 kB / 1.109 GB, free: 0.6523 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches