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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 158.5 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.926/2.926, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFloOpPoi.m_flow|senMasFloKv.m_flow|senMasFloCv.m_flow|senMasFloAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFloOpPoi.m_flow|senMasFloKv.m_flow|senMasFloCv.m_flow|senMasFloAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 75.88 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9457/0.9479, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1626/1.11, allocations: 142.2 MB / 1.325 GB, free: 7.762 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.04723/1.158, allocations: 28.09 MB / 1.353 GB, free: 11.6 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006924/1.165, allocations: 198.2 kB / 1.353 GB, free: 11.41 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.003645/1.168, allocations: 1.032 MB / 1.354 GB, free: 10.37 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/1.179, allocations: 3.306 MB / 1.357 GB, free: 7.051 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.007295/1.186, allocations: 2.51 MB / 1.36 GB, free: 4.57 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.008978/1.195, allocations: 5.333 MB / 1.365 GB, free: 15.22 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003072/1.198, allocations: 1.8 MB / 1.367 GB, free: 13.38 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006682/1.205, allocations: 2.907 MB / 1.37 GB, free: 10.46 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003732/1.209, allocations: 1.875 MB / 1.371 GB, free: 8.574 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004236/1.209, allocations: 216 kB / 1.372 GB, free: 8.363 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/1.212, allocations: 0.9518 MB / 1.373 GB, free: 7.41 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006021/1.212, allocations: 0.5757 MB / 1.373 GB, free: 6.832 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001296/1.213, allocations: 1.015 MB / 1.374 GB, free: 5.812 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004234/1.218, allocations: 3.327 MB / 1.377 GB, free: 2.477 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.218, allocations: 0 / 1.377 GB, free: 2.477 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.623e-06/1.218, allocations: 0 / 1.377 GB, free: 2.477 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.2e-05/1.218, allocations: 0 / 1.377 GB, free: 2.477 MB / 1.217 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.004926/1.223, allocations: 2.655 MB / 1.38 GB, free: 15.77 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.223, allocations: 8.031 kB / 1.38 GB, free: 15.76 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004567/1.223, allocations: 270.3 kB / 1.38 GB, free: 15.5 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/1.226, allocations: 1.421 MB / 1.382 GB, free: 14.01 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.192e-05/1.226, allocations: 102.3 kB / 1.382 GB, free: 13.91 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/1.226, allocations: 143.9 kB / 1.382 GB, free: 13.77 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/1.228, allocations: 1.183 MB / 1.383 GB, free: 12.55 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/1.228, allocations: 7.75 kB / 1.383 GB, free: 12.55 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/1.228, allocations: 44 kB / 1.383 GB, free: 12.51 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/1.228, allocations: 28 kB / 1.383 GB, free: 12.48 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/1.231, allocations: 1.048 MB / 1.384 GB, free: 11.43 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009169/1.24, allocations: 4.084 MB / 1.388 GB, free: 7.262 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/1.241, allocations: 0.533 MB / 1.389 GB, free: 6.723 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/1.241, allocations: 364.7 kB / 1.389 GB, free: 6.367 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/1.242, allocations: 52.45 kB / 1.389 GB, free: 6.312 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/1.242, allocations: 47.06 kB / 1.389 GB, free: 6.258 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001497/1.243, allocations: 287.5 kB / 1.389 GB, free: 5.977 MB / 1.232 GB Notification: Performance of pre-optimization done (n=58): time 2.946e-06/1.243, allocations: 0 / 1.389 GB, free: 5.977 MB / 1.232 GB Notification: Performance of matching and sorting (n=58): time 0.002224/1.245, allocations: 1.148 MB / 1.39 GB, free: 4.824 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/1.245, allocations: 59.84 kB / 1.391 GB, free: 4.75 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/1.247, allocations: 1.639 MB / 1.392 GB, free: 3.07 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 8.462e-05/1.248, allocations: 49.7 kB / 1.392 GB, free: 3.016 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009128/1.248, allocations: 0.922 MB / 1.393 GB, free: 2.086 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/1.249, allocations: 214.2 kB / 1.393 GB, free: 1.875 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/1.249, allocations: 290.7 kB / 1.394 GB, free: 1.586 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.249, allocations: 353.9 kB / 1.394 GB, free: 1.234 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008089/1.25, allocations: 449.9 kB / 1.394 GB, free: 0.7891 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/1.251, allocations: 1.136 MB / 1.395 GB, free: 15.46 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/1.253, allocations: 0.9732 MB / 1.396 GB, free: 14.45 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.253, allocations: 0 / 1.396 GB, free: 14.45 MB / 1.248 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002461/1.256, allocations: 1.394 MB / 1.398 GB, free: 13.05 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.256, allocations: 8 kB / 1.398 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/1.256, allocations: 0 / 1.398 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/1.256, allocations: 12 kB / 1.398 GB, free: 13.03 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.257, allocations: 276 kB / 1.398 GB, free: 12.76 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/1.257, allocations: 19.91 kB / 1.398 GB, free: 12.74 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.258, allocations: 75.88 kB / 1.398 GB, free: 12.67 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.258, allocations: 67.94 kB / 1.398 GB, free: 12.6 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00133/1.26, allocations: 0.7017 MB / 1.399 GB, free: 11.89 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001301/1.261, allocations: 1.116 MB / 1.4 GB, free: 10.59 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00161/1.263, allocations: 0.9185 MB / 1.401 GB, free: 9.625 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.38e-06/1.263, allocations: 3.984 kB / 1.401 GB, free: 9.621 MB / 1.248 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002366/1.265, allocations: 1.332 MB / 1.402 GB, free: 8.281 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/1.265, allocations: 4 kB / 1.402 GB, free: 8.277 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.265, allocations: 4 kB / 1.402 GB, free: 8.273 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/1.265, allocations: 8 kB / 1.402 GB, free: 8.266 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.266, allocations: 275.5 kB / 1.402 GB, free: 7.996 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/1.266, allocations: 15.88 kB / 1.402 GB, free: 7.98 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.268, allocations: 88.06 kB / 1.403 GB, free: 7.895 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/1.268, allocations: 63.89 kB / 1.403 GB, free: 7.832 MB / 1.248 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.0002742/1.268, allocations: 236 kB / 1.403 GB, free: 7.594 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/1.268, allocations: 182.7 kB / 1.403 GB, free: 7.414 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/1.27, allocations: 1.078 MB / 1.404 GB, free: 6.336 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/1.27, allocations: 15.94 kB / 1.404 GB, free: 6.32 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.27, allocations: 0 / 1.404 GB, free: 6.32 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/1.27, allocations: 7.922 kB / 1.404 GB, free: 6.312 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/1.274, allocations: 2.107 MB / 1.406 GB, free: 4.141 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.274, allocations: 0 / 1.406 GB, free: 4.141 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/1.275, allocations: 143.7 kB / 1.406 GB, free: 4 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/1.275, allocations: 4 kB / 1.406 GB, free: 3.996 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/1.275, allocations: 20.17 kB / 1.406 GB, free: 3.977 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/1.275, allocations: 8 kB / 1.406 GB, free: 3.969 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.275, allocations: 4 kB / 1.406 GB, free: 3.965 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/1.276, allocations: 1.054 MB / 1.407 GB, free: 2.875 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/1.277, allocations: 254.5 kB / 1.408 GB, free: 2.625 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.277, allocations: 16 kB / 1.408 GB, free: 2.609 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007058/1.278, allocations: 39.95 kB / 1.408 GB, free: 2.57 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.278, allocations: 56.5 kB / 1.408 GB, free: 2.516 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/1.278, allocations: 23.98 kB / 1.408 GB, free: 2.492 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00145/1.279, allocations: 1.064 MB / 1.409 GB, free: 1.406 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.279, allocations: 0 / 1.409 GB, free: 1.406 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002057/1.281, allocations: 0.9314 MB / 1.41 GB, free: 484 kB / 1.248 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.0006043/1.282, allocations: 336.5 kB / 1.41 GB, free: 144 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002953/1.285, allocations: 1.498 MB / 1.411 GB, free: 14.64 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.285, allocations: 4.125 kB / 1.411 GB, free: 14.64 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006582/1.286, allocations: 371.5 kB / 1.412 GB, free: 14.27 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/1.289, allocations: 0.8793 MB / 1.413 GB, free: 13.42 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/1.294, allocations: 2.982 MB / 1.416 GB, free: 10.39 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009294/1.295, allocations: 0.8177 MB / 1.416 GB, free: 9.531 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001256/1.296, allocations: 367.4 kB / 1.417 GB, free: 9.172 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/1.297, allocations: 148.4 kB / 1.417 GB, free: 9.027 MB / 1.264 GB Notification: Performance of SimCode: time 6.11e-07/1.297, allocations: 0 / 1.417 GB, free: 9.027 MB / 1.264 GB Notification: Performance of Templates: time 0.06093/1.357, allocations: 35.51 MB / 1.452 GB, free: 6.281 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.539635624969378]