Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007367/0.007367, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.001671/0.001671, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 65.34 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2755, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01751/0.293, allocations: 15.5 MB / 1.068 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00661/0.2997, allocations: 4.354 MB / 1.072 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007097/0.3004, allocations: 19.88 kB / 1.072 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.3015, allocations: 218.8 kB / 1.072 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.3033, allocations: 0.5443 MB / 1.073 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.3052, allocations: 0.6419 MB / 1.074 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.307, allocations: 1.306 MB / 1.075 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005495/0.3075, allocations: 292 kB / 1.075 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.3084, allocations: 390.2 kB / 1.075 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.3089, allocations: 326.5 kB / 1.076 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.297e-05/0.309, allocations: 20 kB / 1.076 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.3103, allocations: 0.5965 MB / 1.076 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3104, allocations: 99.53 kB / 1.076 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.3107, allocations: 214.7 kB / 1.077 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007919/0.3115, allocations: 0.5417 MB / 1.077 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3115, allocations: 3.938 kB / 1.077 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3115, allocations: 0 / 1.077 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.3115, allocations: 0 / 1.077 GB, free: 15.12 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001463/0.313, allocations: 0.8331 MB / 1.078 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3131, allocations: 8.031 kB / 1.078 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.3132, allocations: 56.28 kB / 1.078 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/0.3138, allocations: 413.4 kB / 1.078 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.3139, allocations: 20.44 kB / 1.078 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.3139, allocations: 28 kB / 1.079 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.3144, allocations: 211.2 kB / 1.079 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3144, allocations: 0 / 1.079 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.3145, allocations: 11.98 kB / 1.079 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.3145, allocations: 8 kB / 1.079 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.3149, allocations: 169.6 kB / 1.079 GB, free: 13.29 MB / 0.8419 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.001673/0.3166, allocations: 0.9418 MB / 1.08 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.3169, allocations: 126.6 kB / 1.08 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.317, allocations: 72.81 kB / 1.08 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.3173, allocations: 336.4 kB / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3174, allocations: 38.5 kB / 1.08 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3174, allocations: 3.938 kB / 1.08 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0006524/0.3181, allocations: 241 kB / 1.081 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.3181, allocations: 51.41 kB / 1.081 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.3186, allocations: 470 kB / 1.081 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.3187, allocations: 33.7 kB / 1.081 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.3189, allocations: 244.5 kB / 1.081 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.3189, allocations: 43.3 kB / 1.081 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.319, allocations: 53.7 kB / 1.081 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3192, allocations: 362.7 kB / 1.082 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.3194, allocations: 72.81 kB / 1.082 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.3197, allocations: 147.6 kB / 1.082 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.32, allocations: 175.9 kB / 1.082 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.32, allocations: 0 / 1.082 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005444/0.3206, allocations: 253 kB / 1.082 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3206, allocations: 9.719 kB / 1.082 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3206, allocations: 0 / 1.082 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3207, allocations: 0 / 1.082 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.3209, allocations: 43.97 kB / 1.082 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3209, allocations: 0 / 1.082 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.3213, allocations: 43.81 kB / 1.082 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.3213, allocations: 15.98 kB / 1.083 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002889/0.3216, allocations: 188.2 kB / 1.083 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002534/0.3219, allocations: 168 kB / 1.083 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000348/0.3223, allocations: 171 kB / 1.083 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.3223, allocations: 4 kB / 1.083 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005279/0.3228, allocations: 256.9 kB / 1.083 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.3228, allocations: 4 kB / 1.083 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3228, allocations: 4 kB / 1.083 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/0.3228, allocations: 4 kB / 1.083 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.3231, allocations: 47.97 kB / 1.083 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3231, allocations: 3.938 kB / 1.083 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.3235, allocations: 47.81 kB / 1.083 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.3235, allocations: 11.98 kB / 1.083 GB, free: 8.359 MB / 0.8419 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.3236, allocations: 192.2 kB / 1.084 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.3237, allocations: 39.53 kB / 1.084 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.3243, allocations: 253.1 kB / 1.084 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3243, allocations: 3.984 kB / 1.084 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3243, allocations: 0 / 1.084 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3243, allocations: 0 / 1.084 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.3254, allocations: 0.7044 MB / 1.085 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3254, allocations: 0 / 1.085 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3255, allocations: 36.11 kB / 1.085 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.3256, allocations: 0 / 1.085 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3256, allocations: 7.984 kB / 1.085 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3256, allocations: 3.938 kB / 1.085 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3256, allocations: 7.984 kB / 1.085 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.3261, allocations: 340.2 kB / 1.085 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.3263, allocations: 144.5 kB / 1.085 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.3264, allocations: 0 / 1.085 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3266, allocations: 27.92 kB / 1.085 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.3267, allocations: 11.98 kB / 1.085 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.3267, allocations: 7.984 kB / 1.085 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003653/0.3271, allocations: 334.9 kB / 1.085 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3271, allocations: 0 / 1.085 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007034/0.3278, allocations: 199.6 kB / 1.086 GB, free: 5.949 MB / 0.8419 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/0.329, allocations: 492.7 kB / 1.086 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007131/0.3297, allocations: 263.7 kB / 1.086 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3297, allocations: 0 / 1.086 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.3299, allocations: 83.89 kB / 1.086 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.3313, allocations: 214.4 kB / 1.087 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.3328, allocations: 0.8815 MB / 1.087 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.3332, allocations: 0.8233 MB / 1.088 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.3333, allocations: 39.42 kB / 1.088 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of SimCode: time 6.22e-07/0.3333, allocations: 3.938 kB / 1.088 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of Templates: time 0.0117/0.345, allocations: 7.426 MB / 1.096 GB, free: 11.89 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches