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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001027/0.001026, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001139/0.00114, allocations: 172.7 kB / 15.95 MB, free: 208 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.559/1.559, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.51/2.51, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004196, allocations: 12 kB / 0.8154 GB, free: 13.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7665/0.7669, allocations: 142.4 MB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03035/0.7973, allocations: 28.28 MB / 0.982 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.811, allocations: 10.15 MB / 0.992 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.8124, allocations: 22.94 kB / 0.992 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.8135, allocations: 272.6 kB / 0.9922 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.8167, allocations: 0.9333 MB / 0.9932 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.819, allocations: 0.7089 MB / 0.9938 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00317/0.8222, allocations: 2.405 MB / 0.9962 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008834/0.8231, allocations: 0.5301 MB / 0.9967 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.825, allocations: 0.8322 MB / 0.9975 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009626/0.826, allocations: 0.634 MB / 0.9981 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.291e-05/0.8261, allocations: 32 kB / 0.9982 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.8274, allocations: 0.5068 MB / 0.9987 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.8276, allocations: 131.4 kB / 0.9988 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.8278, allocations: 185.2 kB / 0.999 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000898/0.8288, allocations: 0.75 MB / 0.9997 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.8288, allocations: 4 kB / 0.9997 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8288, allocations: 0 / 0.9997 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.8288, allocations: 0 / 0.9997 GB, free: 1.082 MB / 0.7481 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.001591/0.8304, allocations: 1.031 MB / 1.001 GB, free: 0 / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.8304, allocations: 8.078 kB / 1.001 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.8306, allocations: 94.88 kB / 1.001 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.8313, allocations: 0.5343 MB / 1.001 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.8314, allocations: 41 kB / 1.001 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/0.8315, allocations: 56 kB / 1.001 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007571/0.8322, allocations: 414.4 kB / 1.002 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.8322, allocations: 0 / 1.002 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.8323, allocations: 20 kB / 1.002 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.8323, allocations: 15.98 kB / 1.002 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.8329, allocations: 311.8 kB / 1.002 GB, free: 14.48 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.002718/0.8357, allocations: 1.858 MB / 1.004 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.836, allocations: 166.5 kB / 1.004 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.8362, allocations: 88.75 kB / 1.004 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.8366, allocations: 344.5 kB / 1.005 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.8367, allocations: 30.56 kB / 1.005 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=19): time 1.452e-06/0.8367, allocations: 0 / 1.005 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of matching and sorting (n=19): time 0.0006933/0.8374, allocations: 321.8 kB / 1.005 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.8375, allocations: 59.36 kB / 1.005 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007436/0.8382, allocations: 0.6765 MB / 1.006 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.8383, allocations: 33.7 kB / 1.006 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.8386, allocations: 368.6 kB / 1.006 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.8386, allocations: 63.11 kB / 1.006 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.8387, allocations: 8 kB / 1.006 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.8389, allocations: 378.8 kB / 1.006 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.8391, allocations: 104.6 kB / 1.007 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.8395, allocations: 183.7 kB / 1.007 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.8397, allocations: 129.6 kB / 1.007 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8397, allocations: 3.938 kB / 1.007 GB, free: 9.395 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006816/0.8404, allocations: 390.6 kB / 1.007 GB, free: 9.008 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/0.8405, allocations: 110.7 kB / 1.007 GB, free: 8.887 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.8405, allocations: 7.953 kB / 1.007 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.8406, allocations: 4 kB / 1.007 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.8418, allocations: 159.8 kB / 1.007 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.8432, allocations: 2.36 MB / 1.01 GB, free: 6.266 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.8438, allocations: 91.5 kB / 1.01 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.8439, allocations: 19.98 kB / 1.01 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.8439, allocations: 4 kB / 1.01 GB, free: 6.152 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005481/0.8444, allocations: 292 kB / 1.01 GB, free: 5.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/0.8445, allocations: 0 / 1.01 GB, free: 5.867 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.8445, allocations: 8 kB / 1.01 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.8449, allocations: 107.8 kB / 1.01 GB, free: 5.754 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8449, allocations: 4 kB / 1.01 GB, free: 5.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.8453, allocations: 75.53 kB / 1.01 GB, free: 5.676 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.8454, allocations: 19.98 kB / 1.01 GB, free: 5.656 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 (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.0002881/0.8457, allocations: 262.5 kB / 1.011 GB, free: 5.391 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.142e-05/0.8458, allocations: 67.16 kB / 1.011 GB, free: 5.324 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006657/0.8464, allocations: 326.1 kB / 1.011 GB, free: 5 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.8465, allocations: 7.953 kB / 1.011 GB, free: 4.992 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8465, allocations: 0 / 1.011 GB, free: 4.992 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.8465, allocations: 7.922 kB / 1.011 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.8478, allocations: 0.8956 MB / 1.012 GB, free: 4.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.8478, allocations: 4 kB / 1.012 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.8481, allocations: 71.92 kB / 1.012 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.8481, allocations: 4 kB / 1.012 GB, free: 3.941 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.8482, allocations: 4 kB / 1.012 GB, free: 3.938 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.8494, allocations: 2.36 MB / 1.014 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8494, allocations: 4.031 kB / 1.014 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.85, allocations: 407.4 kB / 1.015 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.8502, allocations: 180 kB / 1.015 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.8503, allocations: 7.984 kB / 1.015 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.8507, allocations: 47.95 kB / 1.015 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.8507, allocations: 11.98 kB / 1.015 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.8508, allocations: 19.92 kB / 1.015 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005696/0.8513, allocations: 471 kB / 1.015 GB, free: 324 kB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8513, allocations: 0 / 1.015 GB, free: 324 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009269/0.8523, allocations: 359 kB / 1.016 GB, free: 15.96 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 (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.0005399/0.8528, allocations: 248.3 kB / 1.016 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.8543, allocations: 499.4 kB / 1.016 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8543, allocations: 0 / 1.016 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.8547, allocations: 143.8 kB / 1.017 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.8565, allocations: 379.3 kB / 1.017 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.8584, allocations: 1.326 MB / 1.018 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.8589, allocations: 0.9409 MB / 1.019 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004784/0.8594, allocations: 120.3 kB / 1.019 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-05/0.8595, allocations: 47.42 kB / 1.019 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.8595, allocations: 0 / 1.019 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.02147/0.881, allocations: 11.98 MB / 1.031 GB, free: 480 kB / 0.7794 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