Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001393/0.001393, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001583/0.001583, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003774, allocations: 8 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.8534, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.04064/0.8941, allocations: 28.28 MB / 1.05 GB, free: 3.691 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01932/0.9135, allocations: 10.15 MB / 1.06 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.9152, allocations: 23.81 kB / 1.06 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.9167, allocations: 278.2 kB / 1.06 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.921, allocations: 0.9247 MB / 1.061 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.924, allocations: 0.7082 MB / 1.062 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003429/0.9275, allocations: 2.408 MB / 1.064 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000906/0.9284, allocations: 0.5225 MB / 1.065 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.9303, allocations: 0.8322 MB / 1.065 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009954/0.9313, allocations: 0.6301 MB / 1.066 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.777e-05/0.9314, allocations: 36 kB / 1.066 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.9325, allocations: 0.5107 MB / 1.067 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.9327, allocations: 131.4 kB / 1.067 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.9329, allocations: 177.3 kB / 1.067 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008733/0.9338, allocations: 0.7655 MB / 1.068 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9338, allocations: 0 / 1.068 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9338, allocations: 0 / 1.068 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.9339, allocations: 0 / 1.068 GB, free: 1.547 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001659/0.9355, allocations: 1.027 MB / 1.069 GB, free: 480 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.9356, allocations: 12.02 kB / 1.069 GB, free: 468 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.9357, allocations: 98.88 kB / 1.069 GB, free: 368 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.9365, allocations: 0.5343 MB / 1.069 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.9365, allocations: 41 kB / 1.069 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.838e-05/0.9366, allocations: 52 kB / 1.069 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.9374, allocations: 410.4 kB / 1.07 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.9374, allocations: 4 kB / 1.07 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.9374, allocations: 16 kB / 1.07 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.9375, allocations: 12 kB / 1.07 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005896/0.938, allocations: 311.8 kB / 1.07 GB, free: 14.95 MB / 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.002573/0.9406, allocations: 1.858 MB / 1.072 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.941, allocations: 178.4 kB / 1.072 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.9412, allocations: 92.77 kB / 1.072 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.9415, allocations: 336.4 kB / 1.073 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.9415, allocations: 30.56 kB / 1.073 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 2.234e-06/0.9415, allocations: 4 kB / 1.073 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0006799/0.9422, allocations: 322.1 kB / 1.073 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.9423, allocations: 55.41 kB / 1.073 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/0.943, allocations: 0.6804 MB / 1.074 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.943, allocations: 33.7 kB / 1.074 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.9433, allocations: 372.6 kB / 1.074 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.9434, allocations: 63.09 kB / 1.074 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.9434, allocations: 8 kB / 1.074 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.9436, allocations: 374.8 kB / 1.074 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.9438, allocations: 108.7 kB / 1.074 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.9441, allocations: 179.5 kB / 1.075 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.9444, allocations: 125.5 kB / 1.075 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9444, allocations: 0 / 1.075 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006613/0.9451, allocations: 394.5 kB / 1.075 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.9452, allocations: 114.7 kB / 1.075 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9452, allocations: 0 / 1.075 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9452, allocations: 4 kB / 1.075 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009789/0.9462, allocations: 163.9 kB / 1.075 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.9476, allocations: 2.364 MB / 1.078 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.9482, allocations: 87.69 kB / 1.078 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.9482, allocations: 15.98 kB / 1.078 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.9482, allocations: 4 kB / 1.078 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005947/0.9489, allocations: 296.2 kB / 1.078 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.9489, allocations: 0 / 1.078 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.9489, allocations: 4 kB / 1.078 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.9493, allocations: 99.88 kB / 1.078 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.9493, allocations: 7.984 kB / 1.078 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.9498, allocations: 83.53 kB / 1.078 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.9498, allocations: 16 kB / 1.078 GB, free: 6.121 MB / 0.8262 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003378/0.9501, allocations: 272.9 kB / 1.079 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-05/0.9502, allocations: 67.27 kB / 1.079 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006383/0.9509, allocations: 321.5 kB / 1.079 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.9509, allocations: 4 kB / 1.079 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.9509, allocations: 0 / 1.079 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9509, allocations: 0 / 1.079 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.9522, allocations: 0.905 MB / 1.08 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.9523, allocations: 7.953 kB / 1.08 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.9526, allocations: 76 kB / 1.08 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.9526, allocations: 4 kB / 1.08 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.9526, allocations: 8 kB / 1.08 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.9538, allocations: 2.348 MB / 1.082 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9538, allocations: 4.031 kB / 1.082 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.9544, allocations: 409.5 kB / 1.083 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.9546, allocations: 180.1 kB / 1.083 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.095e-05/0.9547, allocations: 4 kB / 1.083 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.9551, allocations: 55.78 kB / 1.083 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.9551, allocations: 19.94 kB / 1.083 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.9551, allocations: 8 kB / 1.083 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005543/0.9557, allocations: 471 kB / 1.083 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9557, allocations: 0 / 1.083 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008978/0.9566, allocations: 347.2 kB / 1.084 GB, free: 452 kB / 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005053/0.9571, allocations: 253.5 kB / 1.084 GB, free: 196 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.9587, allocations: 0.4957 MB / 1.084 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9587, allocations: 0 / 1.084 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.9591, allocations: 144 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.9609, allocations: 375.1 kB / 1.085 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.9629, allocations: 1.327 MB / 1.086 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.9635, allocations: 0.9409 MB / 1.087 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004781/0.9639, allocations: 120.4 kB / 1.087 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.9641, allocations: 47.44 kB / 1.087 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of SimCode: time 1.353e-06/0.9641, allocations: 0 / 1.087 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.02271/0.9868, allocations: 11.97 MB / 1.099 GB, free: 0.9414 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches