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.00083/0.0008298, allocations: 101.7 kB / 15.71 MB, free: 460 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.0009949/0.0009948, allocations: 179.5 kB / 16.58 MB, free: 6.402 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.502/1.502, allocations: 223.3 MB / 240.6 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.72/2.72, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 8 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8623/0.8627, allocations: 153.7 MB / 1.022 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02884/0.8916, allocations: 28.28 MB / 1.049 GB, free: 4.758 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01401/0.9056, allocations: 10.15 MB / 1.059 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.9072, allocations: 23.81 kB / 1.059 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.9085, allocations: 270.2 kB / 1.06 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003475/0.912, allocations: 0.9314 MB / 1.06 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.9145, allocations: 0.7066 MB / 1.061 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004105/0.9186, allocations: 2.412 MB / 1.063 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.9197, allocations: 0.5225 MB / 1.064 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.9219, allocations: 0.8283 MB / 1.065 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.923, allocations: 0.6341 MB / 1.065 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.176e-05/0.9231, allocations: 32 kB / 1.065 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.9243, allocations: 0.5107 MB / 1.066 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.9245, allocations: 131.3 kB / 1.066 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.9247, allocations: 181.3 kB / 1.066 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008719/0.9256, allocations: 0.7539 MB / 1.067 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.9256, allocations: 4 kB / 1.067 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.418e-06/0.9256, allocations: 0 / 1.067 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.9257, allocations: 3.938 kB / 1.067 GB, free: 2.625 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.001554/0.9272, allocations: 1.027 MB / 1.068 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.9273, allocations: 11.98 kB / 1.068 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.9274, allocations: 98.81 kB / 1.068 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007846/0.9282, allocations: 0.5383 MB / 1.069 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.9282, allocations: 48.94 kB / 1.069 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.9283, allocations: 52 kB / 1.069 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/0.9291, allocations: 414.4 kB / 1.069 GB, free: 356 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.9291, allocations: 4 kB / 1.069 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.9291, allocations: 16 kB / 1.069 GB, free: 336 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.9291, allocations: 8 kB / 1.069 GB, free: 328 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.9297, allocations: 311.8 kB / 1.069 GB, free: 16 kB / 0.8106 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.002711/0.9324, allocations: 1.862 MB / 1.071 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.9328, allocations: 170.4 kB / 1.071 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.933, allocations: 88.81 kB / 1.072 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/0.9333, allocations: 344.4 kB / 1.072 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.9334, allocations: 30.56 kB / 1.072 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 2.354e-06/0.9334, allocations: 0 / 1.072 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0007316/0.9341, allocations: 330.2 kB / 1.072 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.9342, allocations: 55.41 kB / 1.072 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000792/0.935, allocations: 0.6765 MB / 1.073 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.935, allocations: 33.7 kB / 1.073 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.9353, allocations: 368.7 kB / 1.073 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.9353, allocations: 59.11 kB / 1.073 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.9354, allocations: 12 kB / 1.073 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.9355, allocations: 378.8 kB / 1.074 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.9358, allocations: 104.8 kB / 1.074 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.9361, allocations: 179.5 kB / 1.074 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.9364, allocations: 133.5 kB / 1.074 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9364, allocations: 0 / 1.074 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007184/0.9371, allocations: 390.6 kB / 1.074 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.226e-05/0.9372, allocations: 114.6 kB / 1.075 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9372, allocations: 0 / 1.075 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.9372, allocations: 11.98 kB / 1.075 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009497/0.9382, allocations: 159.9 kB / 1.075 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.9394, allocations: 2.364 MB / 1.077 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.94, allocations: 87.56 kB / 1.077 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.9401, allocations: 16 kB / 1.077 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.9401, allocations: 5.562 kB / 1.077 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000553/0.9407, allocations: 292 kB / 1.077 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.9407, allocations: 0 / 1.077 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.9407, allocations: 8 kB / 1.077 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.9411, allocations: 99.88 kB / 1.078 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9411, allocations: 7.984 kB / 1.078 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.9416, allocations: 79.55 kB / 1.078 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.9416, allocations: 11.98 kB / 1.078 GB, free: 7.195 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.0003983/0.942, allocations: 265 kB / 1.078 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.9422, allocations: 75.14 kB / 1.078 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007461/0.9429, allocations: 322.2 kB / 1.078 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.9429, allocations: 4 kB / 1.078 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.943, allocations: 3.984 kB / 1.078 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.943, allocations: 0 / 1.078 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.9444, allocations: 0.8934 MB / 1.079 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.9445, allocations: 4 kB / 1.079 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.9448, allocations: 75.83 kB / 1.079 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.9448, allocations: 4 kB / 1.079 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.9448, allocations: 8 kB / 1.079 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.9461, allocations: 2.364 MB / 1.082 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9461, allocations: 0 / 1.082 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.9467, allocations: 407.9 kB / 1.082 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.9469, allocations: 176.1 kB / 1.082 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.947, allocations: 8 kB / 1.082 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.9473, allocations: 47.89 kB / 1.082 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.9474, allocations: 23.81 kB / 1.082 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.9475, allocations: 19.95 kB / 1.082 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005909/0.9481, allocations: 467 kB / 1.083 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9481, allocations: 0 / 1.083 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008863/0.949, allocations: 351.1 kB / 1.083 GB, free: 1.504 MB / 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.0005037/0.9495, allocations: 233.1 kB / 1.083 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.951, allocations: 0.5004 MB / 1.084 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9511, allocations: 0 / 1.084 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.9514, allocations: 131.9 kB / 1.084 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.9533, allocations: 383.4 kB / 1.084 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.9553, allocations: 1.364 MB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.9559, allocations: 0.9293 MB / 1.086 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.956, allocations: 51.42 kB / 1.086 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.956, allocations: 0 / 1.086 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of Templates: time 0.02661/0.9826, allocations: 22.02 MB / 1.108 GB, free: 7.938 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterizationCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterizationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterizationCalcHelperMain.o] Error 1