Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 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.7 kB / 16.92 MB, free: 6.652 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.681/2.681, allocations: 443.2 MB / 0.7181 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 9.375 kB / 0.8801 GB, free: 42.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2904, allocations: 155.1 MB / 1.032 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02961/0.3201, allocations: 29.86 MB / 1.061 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.3382, allocations: 10.74 MB / 1.071 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.3395, allocations: 19.88 kB / 1.071 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.3409, allocations: 314.1 kB / 1.072 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003793/0.3447, allocations: 1.061 MB / 1.073 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.3475, allocations: 0.7543 MB / 1.073 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004183/0.3517, allocations: 2.834 MB / 1.076 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.3528, allocations: 0.5693 MB / 1.077 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.3554, allocations: 0.8906 MB / 1.078 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.3566, allocations: 0.665 MB / 1.078 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.3568, allocations: 32 kB / 1.078 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.3585, allocations: 0.5731 MB / 1.079 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.3588, allocations: 131.3 kB / 1.079 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.3594, allocations: 431.3 kB / 1.079 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.3606, allocations: 0.7637 MB / 1.08 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3606, allocations: 4 kB / 1.08 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.897e-06/0.3606, allocations: 0 / 1.08 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.3606, allocations: 7.938 kB / 1.08 GB, free: 2.984 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002245/0.3629, allocations: 1.008 MB / 1.081 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.3629, allocations: 15.97 kB / 1.081 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.3632, allocations: 95.81 kB / 1.081 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.3643, allocations: 0.5617 MB / 1.082 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.3643, allocations: 41 kB / 1.082 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.3645, allocations: 55.98 kB / 1.082 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.3656, allocations: 418.4 kB / 1.082 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3656, allocations: 4 kB / 1.082 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/0.3657, allocations: 19.94 kB / 1.082 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.3657, allocations: 12 kB / 1.082 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009318/0.3666, allocations: 315.8 kB / 1.083 GB, free: 368 kB / 0.8262 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.003817/0.3705, allocations: 1.857 MB / 1.084 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.371, allocations: 174.5 kB / 1.085 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.3713, allocations: 88.81 kB / 1.085 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/0.3717, allocations: 340.4 kB / 1.085 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.3718, allocations: 50.48 kB / 1.085 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 2.194e-06/0.3718, allocations: 0 / 1.085 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.001131/0.3729, allocations: 326.5 kB / 1.085 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.373, allocations: 51.41 kB / 1.085 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.3742, allocations: 0.6843 MB / 1.086 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.3743, allocations: 33.7 kB / 1.086 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.3747, allocations: 360.8 kB / 1.086 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.3748, allocations: 70.94 kB / 1.086 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.3749, allocations: 41.7 kB / 1.087 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.3751, allocations: 382.8 kB / 1.087 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.3755, allocations: 120.6 kB / 1.087 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.376, allocations: 183.5 kB / 1.087 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/0.3768, allocations: 249 kB / 1.087 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3768, allocations: 0 / 1.087 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001187/0.378, allocations: 410.2 kB / 1.088 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.114e-05/0.3781, allocations: 102.7 kB / 1.088 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3781, allocations: 0 / 1.088 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3782, allocations: 4 kB / 1.088 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.3797, allocations: 171.8 kB / 1.088 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.3816, allocations: 2.36 MB / 1.09 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/0.3825, allocations: 87.84 kB / 1.09 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.3825, allocations: 16 kB / 1.09 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3826, allocations: 4 kB / 1.09 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009368/0.3835, allocations: 296 kB / 1.091 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3835, allocations: 0 / 1.091 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.3836, allocations: 7.938 kB / 1.091 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.3842, allocations: 103.9 kB / 1.091 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3842, allocations: 4 kB / 1.091 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008596/0.3851, allocations: 95.16 kB / 1.091 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.3852, allocations: 12 kB / 1.091 GB, free: 7.312 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004532/0.3856, allocations: 266.6 kB / 1.091 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.3858, allocations: 67.16 kB / 1.091 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009427/0.3867, allocations: 329.3 kB / 1.092 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.3868, allocations: 3.984 kB / 1.092 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3868, allocations: 0 / 1.092 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3868, allocations: 4 kB / 1.092 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.3884, allocations: 0.8931 MB / 1.092 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.3884, allocations: 4 kB / 1.092 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.3888, allocations: 75.88 kB / 1.093 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.3889, allocations: 4.188 kB / 1.093 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.3889, allocations: 3.984 kB / 1.093 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.3902, allocations: 2.356 MB / 1.095 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/0.3903, allocations: 4.031 kB / 1.095 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.3909, allocations: 409.9 kB / 1.095 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.3912, allocations: 180 kB / 1.095 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.581e-05/0.3913, allocations: 7.938 kB / 1.095 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/0.3918, allocations: 47.95 kB / 1.095 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.3919, allocations: 19.97 kB / 1.095 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.3919, allocations: 12 kB / 1.096 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006636/0.3926, allocations: 475 kB / 1.096 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3926, allocations: 0 / 1.096 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001057/0.3937, allocations: 351.1 kB / 1.096 GB, free: 1.625 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005517/0.3942, allocations: 241.7 kB / 1.097 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.3959, allocations: 0.5127 MB / 1.097 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3959, allocations: 7.938 kB / 1.097 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.3963, allocations: 139.8 kB / 1.097 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.3985, allocations: 371.6 kB / 1.098 GB, free: 384 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.4005, allocations: 1.428 MB / 1.099 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.4011, allocations: 0.9293 MB / 1.1 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.4012, allocations: 55.42 kB / 1.1 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.4012, allocations: 0 / 1.1 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of Templates: time 0.02562/0.4269, allocations: 22.01 MB / 1.121 GB, free: 7.98 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches