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.001023/0.001023, allocations: 92.16 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.001258/0.001258, allocations: 173 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 10.62 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3349, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03284/0.3678, allocations: 29.86 MB / 1.088 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.3836, allocations: 10.73 MB / 1.099 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.3851, allocations: 19.88 kB / 1.099 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.3865, allocations: 306.1 kB / 1.099 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.3902, allocations: 1.061 MB / 1.1 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.3927, allocations: 0.7688 MB / 1.101 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003508/0.3962, allocations: 2.827 MB / 1.104 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.3973, allocations: 0.5693 MB / 1.104 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.3996, allocations: 0.8945 MB / 1.105 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.4009, allocations: 0.6611 MB / 1.106 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.4011, allocations: 32 kB / 1.106 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.4026, allocations: 0.577 MB / 1.106 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.4029, allocations: 131.3 kB / 1.107 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000737/0.4036, allocations: 431.3 kB / 1.107 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.4049, allocations: 0.7714 MB / 1.108 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4049, allocations: 0 / 1.108 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.206e-06/0.4049, allocations: 4 kB / 1.108 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.372e-05/0.4049, allocations: 0 / 1.108 GB, free: 3.18 MB / 0.8575 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.00209/0.407, allocations: 1.012 MB / 1.109 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4071, allocations: 11.97 kB / 1.109 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.4073, allocations: 99.75 kB / 1.109 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009346/0.4083, allocations: 0.5734 MB / 1.109 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.4083, allocations: 41 kB / 1.109 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/0.4084, allocations: 52 kB / 1.11 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008011/0.4092, allocations: 414.4 kB / 1.11 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4092, allocations: 0 / 1.11 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.4093, allocations: 16 kB / 1.11 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.4093, allocations: 12 kB / 1.11 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/0.4099, allocations: 319.8 kB / 1.11 GB, free: 0.5508 MB / 0.8575 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.003042/0.413, allocations: 1.865 MB / 1.112 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.4134, allocations: 172.2 kB / 1.112 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.4136, allocations: 84.81 kB / 1.112 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.4139, allocations: 340.4 kB / 1.113 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.4139, allocations: 42.45 kB / 1.113 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.803e-06/0.4139, allocations: 0 / 1.113 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0007761/0.4147, allocations: 318.2 kB / 1.113 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.4147, allocations: 59.36 kB / 1.113 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/0.4156, allocations: 0.6882 MB / 1.114 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.4156, allocations: 29.81 kB / 1.114 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.4159, allocations: 368.7 kB / 1.114 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.416, allocations: 63.05 kB / 1.114 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.4161, allocations: 49.69 kB / 1.114 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4162, allocations: 378.7 kB / 1.115 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.4165, allocations: 112.7 kB / 1.115 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.4169, allocations: 191.5 kB / 1.115 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.4173, allocations: 249 kB / 1.115 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4173, allocations: 0 / 1.115 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007479/0.4181, allocations: 406.1 kB / 1.115 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/0.4182, allocations: 116.2 kB / 1.116 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.4182, allocations: 3.984 kB / 1.116 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4182, allocations: 4 kB / 1.116 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.4193, allocations: 159.9 kB / 1.116 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.4205, allocations: 2.36 MB / 1.118 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.4212, allocations: 87.69 kB / 1.118 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.4212, allocations: 12 kB / 1.118 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/0.4212, allocations: 7.938 kB / 1.118 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006103/0.4218, allocations: 295.8 kB / 1.118 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4219, allocations: 0 / 1.118 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.4219, allocations: 4 kB / 1.118 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.4223, allocations: 99.88 kB / 1.119 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4223, allocations: 7.984 kB / 1.119 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.4229, allocations: 91.41 kB / 1.119 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.4229, allocations: 20 kB / 1.119 GB, free: 7.504 MB / 0.8731 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.0003055/0.4232, allocations: 257 kB / 1.119 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.4234, allocations: 71.14 kB / 1.119 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007499/0.4241, allocations: 325.3 kB / 1.119 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.4241, allocations: 7.984 kB / 1.119 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4242, allocations: 0 / 1.119 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4242, allocations: 0 / 1.119 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.4256, allocations: 0.8995 MB / 1.12 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.4257, allocations: 4.125 kB / 1.12 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.426, allocations: 83.86 kB / 1.12 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.426, allocations: 0 / 1.12 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.426, allocations: 4 kB / 1.12 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.4271, allocations: 2.356 MB / 1.123 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4271, allocations: 0 / 1.123 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.4277, allocations: 418.1 kB / 1.123 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.428, allocations: 180 kB / 1.123 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4281, allocations: 4 kB / 1.123 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.4285, allocations: 43.95 kB / 1.123 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.4286, allocations: 19.97 kB / 1.123 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.4286, allocations: 8 kB / 1.123 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005644/0.4292, allocations: 475 kB / 1.124 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.793e-06/0.4292, allocations: 0 / 1.124 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009776/0.4302, allocations: 359 kB / 1.124 GB, free: 1.809 MB / 0.8731 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.0006384/0.4309, allocations: 238.2 kB / 1.124 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.4327, allocations: 0.5193 MB / 1.125 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4327, allocations: 0 / 1.125 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.4331, allocations: 140 kB / 1.125 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.4355, allocations: 371.4 kB / 1.125 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.4379, allocations: 1.422 MB / 1.127 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.4385, allocations: 0.9371 MB / 1.128 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.4387, allocations: 51.42 kB / 1.128 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of SimCode: time 1.493e-06/0.4387, allocations: 0 / 1.128 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of Templates: time 0.02978/0.4685, allocations: 22.01 MB / 1.149 GB, free: 8.191 MB / 0.9044 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