Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.0009071/0.0009069, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.006109/0.006109, allocations: 171 kB / 16.27 MB, free: 6.324 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.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.079/3.079, allocations: 470.6 MB / 0.7442 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 12.5 kB / 0.9123 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3452, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1712/0.5164, allocations: 151 MB / 1.217 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04741/0.5639, allocations: 30.17 MB / 1.247 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005316/0.5693, allocations: 119.2 kB / 1.247 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002951/0.5723, allocations: 0.8232 MB / 1.248 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008782/0.5811, allocations: 2.893 MB / 1.251 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6098/1.191, allocations: 2.29 MB / 1.253 GB, free: 44.97 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009381/1.2, allocations: 7.392 MB / 1.26 GB, free: 44.97 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003211/1.204, allocations: 1.843 MB / 1.262 GB, free: 44.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006179/1.21, allocations: 2.374 MB / 1.264 GB, free: 44.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004276/1.214, allocations: 1.901 MB / 1.266 GB, free: 44.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006102/1.215, allocations: 97.34 kB / 1.266 GB, free: 44.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/1.218, allocations: 0.94 MB / 1.267 GB, free: 44.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000792/1.219, allocations: 437.8 kB / 1.267 GB, free: 44.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002451/1.221, allocations: 1.151 MB / 1.269 GB, free: 44.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005836/1.227, allocations: 3.128 MB / 1.272 GB, free: 44.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/1.227, allocations: 5.031 kB / 1.272 GB, free: 44.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.635e-06/1.227, allocations: 0 / 1.272 GB, free: 44.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001728/1.227, allocations: 0 / 1.272 GB, free: 44.36 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.006819/1.234, allocations: 2.348 MB / 1.274 GB, free: 43.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.234, allocations: 13.75 kB / 1.274 GB, free: 43.24 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/1.235, allocations: 263.4 kB / 1.274 GB, free: 43.11 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/1.239, allocations: 1.446 MB / 1.276 GB, free: 42.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-05/1.239, allocations: 106.1 kB / 1.276 GB, free: 42.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/1.239, allocations: 137.3 kB / 1.276 GB, free: 42.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/1.242, allocations: 1.165 MB / 1.277 GB, free: 42.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/1.242, allocations: 1.875 kB / 1.277 GB, free: 42.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.242, allocations: 51.38 kB / 1.277 GB, free: 42.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/1.242, allocations: 27.78 kB / 1.277 GB, free: 42.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/1.244, allocations: 1.022 MB / 1.278 GB, free: 42.48 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.01101/1.255, allocations: 6.35 MB / 1.284 GB, free: 39.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/1.256, allocations: 0.5778 MB / 1.285 GB, free: 39.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/1.256, allocations: 391.7 kB / 1.285 GB, free: 39.76 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/1.257, allocations: 0.5097 MB / 1.286 GB, free: 39.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/1.257, allocations: 38.12 kB / 1.286 GB, free: 39.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001867/1.258, allocations: 331.4 kB / 1.286 GB, free: 39.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 3.246e-06/1.258, allocations: 5.125 kB / 1.286 GB, free: 39.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.002065/1.261, allocations: 1.138 MB / 1.287 GB, free: 38.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/1.261, allocations: 57.94 kB / 1.287 GB, free: 38.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/1.263, allocations: 1.898 MB / 1.289 GB, free: 38.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/1.263, allocations: 44.83 kB / 1.289 GB, free: 38.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006255/1.264, allocations: 0.9258 MB / 1.29 GB, free: 38.33 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/1.264, allocations: 196.8 kB / 1.29 GB, free: 38.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.264, allocations: 122.2 kB / 1.29 GB, free: 38.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.226e-05/1.264, allocations: 349.2 kB / 1.291 GB, free: 37.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/1.265, allocations: 431.8 kB / 1.291 GB, free: 37.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009182/1.266, allocations: 0.6821 MB / 1.292 GB, free: 37.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/1.267, allocations: 0.9523 MB / 1.293 GB, free: 37.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.267, allocations: 1.062 kB / 1.293 GB, free: 37.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002421/1.27, allocations: 1.399 MB / 1.294 GB, free: 37.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.254e-05/1.27, allocations: 189.6 kB / 1.294 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.27, allocations: 3.844 kB / 1.294 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.27, allocations: 8.656 kB / 1.294 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.271, allocations: 283 kB / 1.294 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/1.271, allocations: 12.22 kB / 1.294 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.273, allocations: 147.7 kB / 1.295 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.273, allocations: 58.45 kB / 1.295 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/1.273, allocations: 3.625 kB / 1.295 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001879/1.275, allocations: 1.127 MB / 1.296 GB, free: 37.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.275, allocations: 3.641 kB / 1.296 GB, free: 37.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/1.275, allocations: 12.08 kB / 1.296 GB, free: 37.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.276, allocations: 274.9 kB / 1.296 GB, free: 37.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.276, allocations: 13.61 kB / 1.296 GB, free: 37.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/1.278, allocations: 147.6 kB / 1.296 GB, free: 37.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.278, allocations: 55.84 kB / 1.296 GB, free: 37.07 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.00087/1.279, allocations: 448.9 kB / 1.297 GB, free: 36.88 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/1.279, allocations: 201.8 kB / 1.297 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/1.281, allocations: 1.079 MB / 1.298 GB, free: 36.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/1.281, allocations: 13.86 kB / 1.298 GB, free: 36.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.281, allocations: 0 / 1.298 GB, free: 36.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.281, allocations: 3.234 kB / 1.298 GB, free: 36.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/1.285, allocations: 2.411 MB / 1.3 GB, free: 36.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.285, allocations: 8.781 kB / 1.3 GB, free: 36.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/1.286, allocations: 136.2 kB / 1.3 GB, free: 36.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/1.286, allocations: 3.781 kB / 1.3 GB, free: 36.28 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/1.286, allocations: 20.48 kB / 1.3 GB, free: 36.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/1.286, allocations: 6.062 kB / 1.3 GB, free: 36.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.286, allocations: 4.312 kB / 1.3 GB, free: 36.28 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/1.287, allocations: 1.065 MB / 1.302 GB, free: 35.97 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006793/1.288, allocations: 378.4 kB / 1.302 GB, free: 35.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/1.288, allocations: 14.53 kB / 1.302 GB, free: 35.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009674/1.289, allocations: 95.88 kB / 1.302 GB, free: 35.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.289, allocations: 55.03 kB / 1.302 GB, free: 35.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/1.289, allocations: 26.19 kB / 1.302 GB, free: 35.74 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001633/1.291, allocations: 1.249 MB / 1.303 GB, free: 35.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.291, allocations: 3.938 kB / 1.303 GB, free: 35.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002381/1.293, allocations: 0.896 MB / 1.304 GB, free: 35.48 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.0007018/1.294, allocations: 349.3 kB / 1.305 GB, free: 35.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002542/1.296, allocations: 1.584 MB / 1.306 GB, free: 35.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.296, allocations: 0 / 1.306 GB, free: 35.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005476/1.297, allocations: 402.2 kB / 1.306 GB, free: 35.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006721/1.304, allocations: 1.141 MB / 1.308 GB, free: 35.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/1.308, allocations: 3.722 MB / 1.311 GB, free: 33.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007162/1.309, allocations: 1.409 MB / 1.313 GB, free: 32.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002197/1.311, allocations: 398.8 kB / 1.313 GB, free: 32.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/1.312, allocations: 158.9 kB / 1.313 GB, free: 32.38 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.312, allocations: 0 / 1.313 GB, free: 32.38 MB / 0.9981 GB Notification: Performance of Templates: time 0.06534/1.377, allocations: 37 MB / 1.349 GB, free: 14.45 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches