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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001781/0.001781, allocations: 113.9 kB / 15.99 MB, free: 6.348 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.001884/0.001884, allocations: 194.3 kB / 16.91 MB, free: 6.188 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.468/1.468, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 482.4 MB / 0.755 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.83 kB / 0.924 GB, free: 372 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9089/0.9109, allocations: 162.2 MB / 1.082 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03693/0.9479, allocations: 30.44 MB / 1.112 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.9637, allocations: 10.69 MB / 1.123 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.9656, allocations: 29.59 kB / 1.123 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.9672, allocations: 330.3 kB / 1.123 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.9714, allocations: 1.046 MB / 1.124 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.9743, allocations: 0.7643 MB / 1.125 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003691/0.978, allocations: 2.023 MB / 1.127 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.9794, allocations: 0.6568 MB / 1.127 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003639/0.9831, allocations: 1.022 MB / 1.128 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.9853, allocations: 0.6514 MB / 1.129 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003972/0.9857, allocations: 58.94 kB / 1.129 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.9886, allocations: 0.6107 MB / 1.13 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005817/0.9892, allocations: 163.7 kB / 1.13 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.9907, allocations: 425.9 kB / 1.13 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.9929, allocations: 0.7817 MB / 1.131 GB, free: 244 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.9929, allocations: 0 / 1.131 GB, free: 244 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9929, allocations: 4.734 kB / 1.131 GB, free: 240 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.47e-05/0.993, allocations: 1.094 kB / 1.131 GB, free: 240 kB / 0.8575 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.003103/0.9961, allocations: 1.137 MB / 1.132 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.9962, allocations: 10.39 kB / 1.132 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.9964, allocations: 95 kB / 1.132 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.9975, allocations: 0.5527 MB / 1.133 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.9975, allocations: 47.34 kB / 1.133 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.541e-05/0.9976, allocations: 52.62 kB / 1.133 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009225/0.9985, allocations: 406.8 kB / 1.133 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.9986, allocations: 1.656 kB / 1.133 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.9986, allocations: 19.34 kB / 1.133 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.9986, allocations: 11.78 kB / 1.133 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.9993, allocations: 300.4 kB / 1.133 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/1.003, allocations: 1.843 MB / 1.135 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/1.003, allocations: 175.7 kB / 1.135 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/1.003, allocations: 87.25 kB / 1.136 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003558/1.004, allocations: 341.2 kB / 1.136 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/1.004, allocations: 31.72 kB / 1.136 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/1.004, allocations: 1.188 kB / 1.136 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0008291/1.004, allocations: 308.5 kB / 1.136 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/1.005, allocations: 54.56 kB / 1.136 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/1.005, allocations: 0.6613 MB / 1.137 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/1.005, allocations: 36.64 kB / 1.137 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/1.006, allocations: 353.9 kB / 1.137 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/1.006, allocations: 71.33 kB / 1.137 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/1.006, allocations: 88.03 kB / 1.137 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001996/1.006, allocations: 381.3 kB / 1.138 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/1.006, allocations: 118.2 kB / 1.138 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/1.007, allocations: 178.8 kB / 1.138 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/1.007, allocations: 240.2 kB / 1.138 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.007, allocations: 1.156 kB / 1.138 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007825/1.008, allocations: 397.2 kB / 1.139 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.008, allocations: 8.625 kB / 1.139 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.008, allocations: 5.141 kB / 1.139 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.008, allocations: 2.156 kB / 1.139 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.009, allocations: 163.5 kB / 1.139 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/1.011, allocations: 2.362 MB / 1.141 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000769/1.012, allocations: 77.72 kB / 1.141 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/1.012, allocations: 14.66 kB / 1.141 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004854/1.012, allocations: 244.4 kB / 1.141 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003255/1.013, allocations: 183.8 kB / 1.142 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004663/1.013, allocations: 224.9 kB / 1.142 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.598e-06/1.013, allocations: 4.109 kB / 1.142 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0008321/1.014, allocations: 384.4 kB / 1.142 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.014, allocations: 4.781 kB / 1.142 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.014, allocations: 5.172 kB / 1.142 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/1.014, allocations: 2.25 kB / 1.142 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/1.014, allocations: 106.5 kB / 1.142 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/1.014, allocations: 3.094 kB / 1.142 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007526/1.015, allocations: 71.44 kB / 1.142 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/1.015, allocations: 10.34 kB / 1.142 GB, free: 7.57 MB / 0.8731 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002035/1.015, allocations: 201.6 kB / 1.143 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/1.016, allocations: 73.92 kB / 1.143 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007512/1.016, allocations: 305.7 kB / 1.143 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.016, allocations: 2.594 kB / 1.143 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.016, allocations: 0 / 1.143 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.016, allocations: 3.984 kB / 1.143 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/1.018, allocations: 0.8875 MB / 1.144 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.018, allocations: 0 / 1.144 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/1.018, allocations: 79.28 kB / 1.144 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/1.018, allocations: 2.531 kB / 1.144 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/1.018, allocations: 7.141 kB / 1.144 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/1.02, allocations: 2.35 MB / 1.146 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.02, allocations: 6.812 kB / 1.146 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006765/1.02, allocations: 394.2 kB / 1.147 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/1.021, allocations: 166.4 kB / 1.147 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.838e-05/1.021, allocations: 9.531 kB / 1.147 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/1.021, allocations: 45.53 kB / 1.147 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/1.021, allocations: 19.36 kB / 1.147 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/1.021, allocations: 7.125 kB / 1.147 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006344/1.022, allocations: 471.2 kB / 1.147 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.91e-07/1.022, allocations: 0 / 1.147 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001108/1.023, allocations: 347.6 kB / 1.148 GB, free: 3.191 MB / 0.8731 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000604/1.024, allocations: 239.4 kB / 1.148 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001796/1.026, allocations: 0.498 MB / 1.148 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.026, allocations: 4.062 kB / 1.148 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003985/1.026, allocations: 135.6 kB / 1.148 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.028, allocations: 337.8 kB / 1.149 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/1.03, allocations: 1.372 MB / 1.15 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/1.031, allocations: 0.9272 MB / 1.151 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/1.031, allocations: 53.55 kB / 1.151 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of SimCode: time 4.4e-07/1.031, allocations: 0 / 1.151 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of Templates: time 0.03304/1.064, allocations: 21.69 MB / 1.172 GB, free: 2.352 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches