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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00144/0.00144, allocations: 112 kB / 16.42 MB, free: 6.5 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.001587/0.001587, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.4/1.4, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 67.88 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9402/0.9419, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03327/0.9753, allocations: 30.74 MB / 1.238 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.9894, allocations: 10.85 MB / 1.249 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.9913, allocations: 27.81 kB / 1.249 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.993, allocations: 389.2 kB / 1.249 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.9971, allocations: 1.154 MB / 1.251 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.9995, allocations: 0.8534 MB / 1.251 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003144/1.003, allocations: 2.054 MB / 1.253 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/1.004, allocations: 0.6932 MB / 1.254 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/1.006, allocations: 0.9921 MB / 1.255 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/1.007, allocations: 0.669 MB / 1.256 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/1.007, allocations: 60 kB / 1.256 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/1.008, allocations: 0.6122 MB / 1.256 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/1.009, allocations: 163.3 kB / 1.257 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004467/1.009, allocations: 437.6 kB / 1.257 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/1.01, allocations: 1.088 MB / 1.258 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.01, allocations: 4 kB / 1.258 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.366e-06/1.01, allocations: 0 / 1.258 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.253e-05/1.01, allocations: 3.938 kB / 1.258 GB, free: 10.68 MB / 0.9825 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.001835/1.012, allocations: 1.16 MB / 1.259 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.012, allocations: 11.97 kB / 1.259 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/1.013, allocations: 95.81 kB / 1.259 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009298/1.013, allocations: 0.5929 MB / 1.26 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/1.013, allocations: 37 kB / 1.26 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/1.014, allocations: 52 kB / 1.26 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007133/1.014, allocations: 414.4 kB / 1.26 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.014, allocations: 3.984 kB / 1.26 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/1.014, allocations: 16 kB / 1.26 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/1.014, allocations: 12 kB / 1.26 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005752/1.015, allocations: 303.8 kB / 1.261 GB, free: 7.902 MB / 0.9825 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.002691/1.018, allocations: 1.85 MB / 1.262 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/1.018, allocations: 174.5 kB / 1.263 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/1.018, allocations: 84.81 kB / 1.263 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/1.019, allocations: 340.5 kB / 1.263 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/1.019, allocations: 38.5 kB / 1.263 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.803e-06/1.019, allocations: 0 / 1.263 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0007411/1.019, allocations: 306.1 kB / 1.263 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/1.019, allocations: 55.41 kB / 1.263 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00076/1.02, allocations: 0.6843 MB / 1.264 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/1.02, allocations: 33.7 kB / 1.264 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/1.021, allocations: 360.7 kB / 1.264 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/1.021, allocations: 71.02 kB / 1.264 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/1.021, allocations: 93.97 kB / 1.265 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.021, allocations: 374.9 kB / 1.265 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/1.021, allocations: 122.2 kB / 1.265 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/1.021, allocations: 179.7 kB / 1.265 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/1.022, allocations: 244.9 kB / 1.265 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.022, allocations: 0 / 1.265 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000672/1.023, allocations: 398.2 kB / 1.266 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.023, allocations: 6.344 kB / 1.266 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.023, allocations: 0 / 1.266 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/1.023, allocations: 4 kB / 1.266 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/1.024, allocations: 159.8 kB / 1.266 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/1.025, allocations: 2.364 MB / 1.268 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/1.026, allocations: 59.53 kB / 1.268 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/1.026, allocations: 19.98 kB / 1.268 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004141/1.026, allocations: 252 kB / 1.269 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002781/1.026, allocations: 175.2 kB / 1.269 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000413/1.027, allocations: 233.2 kB / 1.269 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/1.027, allocations: 4 kB / 1.269 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006292/1.027, allocations: 376.2 kB / 1.269 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/1.027, allocations: 4 kB / 1.269 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.027, allocations: 4 kB / 1.269 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-06/1.027, allocations: 0 / 1.269 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/1.028, allocations: 99.88 kB / 1.269 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.028, allocations: 11.97 kB / 1.269 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/1.028, allocations: 31.81 kB / 1.27 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/1.028, allocations: 19.98 kB / 1.27 GB, free: 14.29 MB / 0.9981 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.0001497/1.028, allocations: 200.5 kB / 1.27 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.029, allocations: 71.06 kB / 1.27 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/1.029, allocations: 310.7 kB / 1.27 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.029, allocations: 0 / 1.27 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.029, allocations: 0 / 1.27 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/1.029, allocations: 168.2 kB / 1.27 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/1.03, allocations: 0 / 1.27 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/1.03, allocations: 31.84 kB / 1.27 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/1.03, allocations: 12.17 kB / 1.27 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007454/1.031, allocations: 382 kB / 1.271 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007988/1.031, allocations: 0.5551 MB / 1.271 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001908/1.032, allocations: 91.98 kB / 1.271 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006077/1.032, allocations: 479 kB / 1.272 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of Backend: time 3.4e-07/1.032, allocations: 0 / 1.272 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002343/1.035, allocations: 0.6665 MB / 1.272 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002849/1.038, allocations: 1.797 MB / 1.274 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of Templates: time 0.02546/1.063, allocations: 14.07 MB / 1.288 GB, free: 11.59 MB / 1.014 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