Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001089, allocations: 98.88 kB / 16.02 MB, free: 76 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.001434/0.001434, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003678, allocations: 9.188 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2869, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1504/0.4374, allocations: 151 MB / 1.207 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04582/0.4832, allocations: 30.17 MB / 1.236 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006373/0.4897, allocations: 123.1 kB / 1.236 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003567/0.4933, allocations: 0.8155 MB / 1.237 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009636/0.5029, allocations: 2.897 MB / 1.24 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006364/0.5093, allocations: 2.294 MB / 1.242 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009747/0.5191, allocations: 7.391 MB / 1.249 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6257/1.145, allocations: 1.836 MB / 1.251 GB, free: 42.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006642/1.152, allocations: 2.365 MB / 1.254 GB, free: 42.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004762/1.156, allocations: 1.913 MB / 1.255 GB, free: 42.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008877/1.157, allocations: 97.84 kB / 1.256 GB, free: 42.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/1.161, allocations: 0.9352 MB / 1.256 GB, free: 42.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005707/1.161, allocations: 440.5 kB / 1.257 GB, free: 42.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/1.163, allocations: 1.145 MB / 1.258 GB, free: 42.88 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004067/1.167, allocations: 2.437 MB / 1.26 GB, free: 42.79 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/1.167, allocations: 0.6094 kB / 1.26 GB, free: 42.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.515e-06/1.167, allocations: 2.906 kB / 1.26 GB, free: 42.79 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.588e-05/1.167, allocations: 0 / 1.26 GB, free: 42.79 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005213/1.173, allocations: 2.353 MB / 1.263 GB, free: 41.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.173, allocations: 12.34 kB / 1.263 GB, free: 41.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000578/1.173, allocations: 265.8 kB / 1.263 GB, free: 41.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002468/1.176, allocations: 1.44 MB / 1.264 GB, free: 41.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.185e-05/1.176, allocations: 104.7 kB / 1.264 GB, free: 41.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/1.176, allocations: 135.8 kB / 1.265 GB, free: 41.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/1.179, allocations: 1.171 MB / 1.266 GB, free: 41.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/1.179, allocations: 2.625 kB / 1.266 GB, free: 41.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.179, allocations: 45.75 kB / 1.266 GB, free: 41.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/1.179, allocations: 27.84 kB / 1.266 GB, free: 41.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/1.181, allocations: 1.025 MB / 1.267 GB, free: 41 MB / 0.9981 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.01194/1.193, allocations: 6.342 MB / 1.273 GB, free: 38.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/1.194, allocations: 0.5764 MB / 1.274 GB, free: 38.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006941/1.195, allocations: 389.6 kB / 1.274 GB, free: 38.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/1.195, allocations: 0.5049 MB / 1.274 GB, free: 37.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.195, allocations: 38.08 kB / 1.274 GB, free: 37.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002148/1.197, allocations: 329.7 kB / 1.275 GB, free: 37.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 5.871e-06/1.197, allocations: 0.8438 kB / 1.275 GB, free: 37.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.002949/1.2, allocations: 1.141 MB / 1.276 GB, free: 37.51 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/1.2, allocations: 58.34 kB / 1.276 GB, free: 37.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/1.204, allocations: 1.9 MB / 1.278 GB, free: 37.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002794/1.204, allocations: 45.45 kB / 1.278 GB, free: 37.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006595/1.205, allocations: 0.9182 MB / 1.279 GB, free: 36.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/1.205, allocations: 206.1 kB / 1.279 GB, free: 36.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/1.205, allocations: 121.7 kB / 1.279 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/1.205, allocations: 347.5 kB / 1.279 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008457/1.206, allocations: 437 kB / 1.28 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009725/1.207, allocations: 0.6742 MB / 1.28 GB, free: 36.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/1.208, allocations: 0.9553 MB / 1.281 GB, free: 36.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/1.208, allocations: 1.312 kB / 1.281 GB, free: 36.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002593/1.211, allocations: 1.395 MB / 1.283 GB, free: 35.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.639e-05/1.211, allocations: 193.1 kB / 1.283 GB, free: 35.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.211, allocations: 3.25 kB / 1.283 GB, free: 35.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/1.211, allocations: 8.75 kB / 1.283 GB, free: 35.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.212, allocations: 282.7 kB / 1.283 GB, free: 35.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/1.212, allocations: 12.03 kB / 1.283 GB, free: 35.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/1.214, allocations: 143.2 kB / 1.283 GB, free: 35.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/1.215, allocations: 64.59 kB / 1.283 GB, free: 35.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.215, allocations: 4.625 kB / 1.283 GB, free: 35.73 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001926/1.217, allocations: 1.126 MB / 1.285 GB, free: 35.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.217, allocations: 3.281 kB / 1.285 GB, free: 35.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/1.217, allocations: 8.719 kB / 1.285 GB, free: 35.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.218, allocations: 277.8 kB / 1.285 GB, free: 35.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/1.218, allocations: 13.14 kB / 1.285 GB, free: 35.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/1.22, allocations: 139.6 kB / 1.285 GB, free: 35.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.22, allocations: 62.09 kB / 1.285 GB, free: 35.68 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * 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.001051/1.221, allocations: 445.5 kB / 1.285 GB, free: 35.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000419/1.221, allocations: 201.8 kB / 1.286 GB, free: 35.37 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/1.224, allocations: 1.08 MB / 1.287 GB, free: 35.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/1.224, allocations: 15.52 kB / 1.287 GB, free: 35.28 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.224, allocations: 1.75 kB / 1.287 GB, free: 35.28 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/1.224, allocations: 3.797 kB / 1.287 GB, free: 35.28 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/1.228, allocations: 2.416 MB / 1.289 GB, free: 34.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.228, allocations: 2.375 kB / 1.289 GB, free: 34.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/1.228, allocations: 138.5 kB / 1.289 GB, free: 34.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.228, allocations: 3.969 kB / 1.289 GB, free: 34.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/1.228, allocations: 21.73 kB / 1.289 GB, free: 34.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/1.228, allocations: 10.3 kB / 1.289 GB, free: 34.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.228, allocations: 2.219 kB / 1.289 GB, free: 34.88 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/1.23, allocations: 1.062 MB / 1.29 GB, free: 34.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008682/1.231, allocations: 383.7 kB / 1.291 GB, free: 34.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/1.231, allocations: 16.72 kB / 1.291 GB, free: 34.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009837/1.232, allocations: 95.41 kB / 1.291 GB, free: 34.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.232, allocations: 61.08 kB / 1.291 GB, free: 34.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/1.232, allocations: 22.41 kB / 1.291 GB, free: 34.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001984/1.234, allocations: 1.253 MB / 1.292 GB, free: 34.19 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.234, allocations: 0 / 1.292 GB, free: 34.19 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0027/1.237, allocations: 0.8843 MB / 1.293 GB, free: 34.09 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008159/1.238, allocations: 348.8 kB / 1.293 GB, free: 33.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002879/1.241, allocations: 1.586 MB / 1.295 GB, free: 33.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.241, allocations: 1.438 kB / 1.295 GB, free: 33.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006388/1.241, allocations: 404.5 kB / 1.295 GB, free: 33.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006989/1.248, allocations: 1.141 MB / 1.296 GB, free: 33.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00572/1.254, allocations: 3.769 MB / 1.3 GB, free: 31.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/1.255, allocations: 1.406 MB / 1.301 GB, free: 31.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/1.256, allocations: 168 kB / 1.302 GB, free: 31.09 MB / 0.9981 GB Notification: Performance of SimCode: time 1.383e-06/1.256, allocations: 0 / 1.302 GB, free: 31.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.04555/1.301, allocations: 30.74 MB / 1.332 GB, free: 21.35 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches