Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0008982/0.0008981, 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.007536/0.007537, allocations: 169.9 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.535/1.535, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.601/2.601, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004291, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8796/0.88, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03078/0.9108, allocations: 29.86 MB / 0.9842 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.9256, allocations: 10.72 MB / 0.9947 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.9273, allocations: 23.81 kB / 0.9947 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.9286, allocations: 318.1 kB / 0.995 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.9326, allocations: 1.064 MB / 0.996 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.9352, allocations: 0.7553 MB / 0.9968 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003583/0.9388, allocations: 2.834 MB / 0.9995 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009515/0.9398, allocations: 0.5747 MB / 1 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.9419, allocations: 0.8867 MB / 1.001 GB, free: 192 kB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.943, allocations: 0.6611 MB / 1.002 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.59e-05/0.9431, allocations: 32 kB / 1.002 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.9445, allocations: 0.577 MB / 1.002 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.9447, allocations: 135.2 kB / 1.002 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.9452, allocations: 427.4 kB / 1.003 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.9466, allocations: 1.047 MB / 1.004 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9466, allocations: 0 / 1.004 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9466, allocations: 0 / 1.004 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.9466, allocations: 0 / 1.004 GB, free: 13.3 MB / 0.7637 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.001696/0.9483, allocations: 1.016 MB / 1.005 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.9484, allocations: 8.031 kB / 1.005 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.9485, allocations: 95.81 kB / 1.005 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008321/0.9494, allocations: 0.5657 MB / 1.005 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.9494, allocations: 41 kB / 1.005 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/0.9495, allocations: 52 kB / 1.005 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.9503, allocations: 418.4 kB / 1.006 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.9503, allocations: 0 / 1.006 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.9504, allocations: 19.94 kB / 1.006 GB, free: 11 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.9504, allocations: 12 kB / 1.006 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/0.9511, allocations: 319.8 kB / 1.006 GB, free: 10.68 MB / 0.7637 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.002818/0.9539, allocations: 1.865 MB / 1.008 GB, free: 8.664 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.9543, allocations: 182.9 kB / 1.008 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.9545, allocations: 84.81 kB / 1.008 GB, free: 8.395 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003054/0.9548, allocations: 344.5 kB / 1.009 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.9548, allocations: 34.5 kB / 1.009 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=19): time 1.824e-06/0.9548, allocations: 0 / 1.009 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of matching and sorting (n=19): time 0.0007477/0.9556, allocations: 322.6 kB / 1.009 GB, free: 7.621 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.9556, allocations: 51.41 kB / 1.009 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/0.9565, allocations: 0.6805 MB / 1.01 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.9565, allocations: 37.7 kB / 1.01 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.9568, allocations: 364.6 kB / 1.01 GB, free: 6.461 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.9569, allocations: 70.98 kB / 1.01 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.957, allocations: 41.7 kB / 1.01 GB, free: 6.344 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.9572, allocations: 382.7 kB / 1.011 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.9575, allocations: 112.7 kB / 1.011 GB, free: 5.852 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.9578, allocations: 191.4 kB / 1.011 GB, free: 5.641 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.9583, allocations: 245 kB / 1.011 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.9583, allocations: 112 / 1.011 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007393/0.9591, allocations: 410.1 kB / 1.011 GB, free: 4.988 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.097e-05/0.9592, allocations: 110.7 kB / 1.012 GB, free: 4.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.9592, allocations: 4.016 kB / 1.012 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.9592, allocations: 4 kB / 1.012 GB, free: 4.859 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.9602, allocations: 167.8 kB / 1.012 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.9617, allocations: 2.36 MB / 1.014 GB, free: 2.242 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006739/0.9624, allocations: 87.69 kB / 1.014 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.9624, allocations: 16 kB / 1.014 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.9625, allocations: 4 kB / 1.014 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006188/0.9631, allocations: 299.8 kB / 1.014 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.9631, allocations: 7.984 kB / 1.014 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.658e-06/0.9631, allocations: 3.938 kB / 1.014 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.9635, allocations: 95.88 kB / 1.015 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.9635, allocations: 4 kB / 1.015 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.9641, allocations: 91.56 kB / 1.015 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.9641, allocations: 12 kB / 1.015 GB, free: 1.633 MB / 0.7637 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.0003339/0.9645, allocations: 265 kB / 1.015 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.9646, allocations: 71.06 kB / 1.015 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007368/0.9653, allocations: 319.8 kB / 1.015 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.9653, allocations: 0 / 1.015 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9653, allocations: 4 kB / 1.015 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.9654, allocations: 0 / 1.015 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.9667, allocations: 0.9011 MB / 1.016 GB, free: 0 / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/0.9667, allocations: 4.047 kB / 1.016 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.9671, allocations: 83.94 kB / 1.016 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.9671, allocations: 4 kB / 1.016 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.9671, allocations: 7.984 kB / 1.016 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.9683, allocations: 2.352 MB / 1.019 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9683, allocations: 0 / 1.019 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.9689, allocations: 416.2 kB / 1.019 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.9691, allocations: 172.2 kB / 1.019 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.9692, allocations: 4 kB / 1.019 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.9697, allocations: 59.78 kB / 1.019 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.9697, allocations: 15.98 kB / 1.019 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.9698, allocations: 4 kB / 1.019 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005789/0.9703, allocations: 482.9 kB / 1.02 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9704, allocations: 0 / 1.02 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009238/0.9713, allocations: 343.2 kB / 1.02 GB, free: 11.95 MB / 0.7794 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.0005381/0.9718, allocations: 250.7 kB / 1.02 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.9735, allocations: 0.5084 MB / 1.021 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.9735, allocations: 0 / 1.021 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.974, allocations: 145.5 kB / 1.021 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.9761, allocations: 378.1 kB / 1.021 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.9782, allocations: 1.397 MB / 1.023 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.9787, allocations: 0.9371 MB / 1.023 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005112/0.9793, allocations: 112.7 kB / 1.024 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.9794, allocations: 55.42 kB / 1.024 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of SimCode: time 7.31e-07/0.9794, allocations: 0 / 1.024 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of Templates: time 0.02431/1.004, allocations: 12.36 MB / 1.036 GB, free: 11.99 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches