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.001059/0.001066, allocations: 90.67 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.009933/0.009934, allocations: 169.5 kB / 16.26 MB, free: 6.68 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.901/2.901, allocations: 462.6 MB / 0.7364 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 8.844 kB / 0.9027 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3791, allocations: 159.6 MB / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1468/0.526, allocations: 151 MB / 1.206 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03974/0.5658, allocations: 30.16 MB / 1.236 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007015/0.5728, allocations: 123.1 kB / 1.236 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003421/0.5763, allocations: 0.8194 MB / 1.236 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.5873, allocations: 2.894 MB / 1.239 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006486/0.5938, allocations: 2.31 MB / 1.242 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009332/0.6031, allocations: 7.383 MB / 1.249 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7623/1.365, allocations: 1.845 MB / 1.251 GB, free: 42.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006178/1.372, allocations: 2.37 MB / 1.253 GB, free: 42.95 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004002/1.376, allocations: 1.907 MB / 1.255 GB, free: 42.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007746/1.376, allocations: 97.31 kB / 1.255 GB, free: 42.95 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/1.379, allocations: 0.9334 MB / 1.256 GB, free: 42.95 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008467/1.38, allocations: 441 kB / 1.256 GB, free: 42.95 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002586/1.383, allocations: 1.149 MB / 1.257 GB, free: 42.92 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004277/1.387, allocations: 3.13 MB / 1.26 GB, free: 42.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.387, allocations: 2.938 kB / 1.26 GB, free: 42.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.387, allocations: 4.906 kB / 1.26 GB, free: 42.61 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.929e-05/1.387, allocations: 0 / 1.26 GB, free: 42.61 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.004211/1.391, allocations: 2.346 MB / 1.263 GB, free: 41.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/1.391, allocations: 13 kB / 1.263 GB, free: 41.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/1.392, allocations: 263.6 kB / 1.263 GB, free: 41.42 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/1.394, allocations: 1.45 MB / 1.264 GB, free: 40.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/1.394, allocations: 105 kB / 1.264 GB, free: 40.89 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/1.394, allocations: 138.5 kB / 1.265 GB, free: 40.89 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/1.396, allocations: 1.17 MB / 1.266 GB, free: 40.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/1.396, allocations: 1.875 kB / 1.266 GB, free: 40.81 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/1.396, allocations: 46.22 kB / 1.266 GB, free: 40.81 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/1.396, allocations: 28.72 kB / 1.266 GB, free: 40.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/1.398, allocations: 1.021 MB / 1.267 GB, free: 40.8 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.009848/1.408, allocations: 6.333 MB / 1.273 GB, free: 38.17 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009895/1.409, allocations: 0.5829 MB / 1.274 GB, free: 38.14 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/1.41, allocations: 392.7 kB / 1.274 GB, free: 38.12 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/1.41, allocations: 0.5011 MB / 1.274 GB, free: 37.56 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/1.41, allocations: 42.44 kB / 1.274 GB, free: 37.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001811/1.412, allocations: 332.9 kB / 1.275 GB, free: 37.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 3.196e-06/1.412, allocations: 0 / 1.275 GB, free: 37.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.002405/1.414, allocations: 1.134 MB / 1.276 GB, free: 37.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/1.414, allocations: 61.81 kB / 1.276 GB, free: 37.24 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/1.417, allocations: 1.9 MB / 1.278 GB, free: 37 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002124/1.417, allocations: 46.3 kB / 1.278 GB, free: 36.97 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006952/1.418, allocations: 0.9199 MB / 1.279 GB, free: 36.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/1.418, allocations: 203.8 kB / 1.279 GB, free: 36.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/1.418, allocations: 123.6 kB / 1.279 GB, free: 36.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/1.418, allocations: 350.8 kB / 1.279 GB, free: 36.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008052/1.419, allocations: 437.4 kB / 1.28 GB, free: 36.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/1.42, allocations: 0.6735 MB / 1.28 GB, free: 36.03 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/1.422, allocations: 0.9549 MB / 1.281 GB, free: 35.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.422, allocations: 1.156 kB / 1.281 GB, free: 35.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003161/1.425, allocations: 1.394 MB / 1.283 GB, free: 35.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.76e-05/1.425, allocations: 189.3 kB / 1.283 GB, free: 35.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.425, allocations: 2.375 kB / 1.283 GB, free: 35.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.425, allocations: 9.469 kB / 1.283 GB, free: 35.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.427, allocations: 284.7 kB / 1.283 GB, free: 35.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/1.427, allocations: 7.469 kB / 1.283 GB, free: 35.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/1.429, allocations: 146.4 kB / 1.283 GB, free: 35.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.429, allocations: 60.81 kB / 1.283 GB, free: 35.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.429, allocations: 5.812 kB / 1.283 GB, free: 35.52 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001978/1.431, allocations: 1.133 MB / 1.285 GB, free: 35.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.431, allocations: 6.469 kB / 1.285 GB, free: 35.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/1.431, allocations: 8.812 kB / 1.285 GB, free: 35.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.432, allocations: 271.2 kB / 1.285 GB, free: 35.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/1.433, allocations: 12.38 kB / 1.285 GB, free: 35.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/1.435, allocations: 144.6 kB / 1.285 GB, free: 35.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/1.435, allocations: 58.09 kB / 1.285 GB, free: 35.46 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.001204/1.436, allocations: 448.3 kB / 1.285 GB, free: 35.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/1.436, allocations: 206.1 kB / 1.286 GB, free: 35.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/1.438, allocations: 1.078 MB / 1.287 GB, free: 35.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/1.438, allocations: 7.094 kB / 1.287 GB, free: 35.06 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.438, allocations: 1.219 kB / 1.287 GB, free: 35.06 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/1.438, allocations: 3.469 kB / 1.287 GB, free: 35.06 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/1.442, allocations: 2.42 MB / 1.289 GB, free: 34.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.442, allocations: 2.25 kB / 1.289 GB, free: 34.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/1.443, allocations: 135.8 kB / 1.289 GB, free: 34.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/1.443, allocations: 11.56 kB / 1.289 GB, free: 34.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/1.443, allocations: 18.66 kB / 1.289 GB, free: 34.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/1.443, allocations: 7.656 kB / 1.289 GB, free: 34.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.443, allocations: 2.219 kB / 1.289 GB, free: 34.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/1.444, allocations: 1.064 MB / 1.29 GB, free: 34.35 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000695/1.445, allocations: 377.3 kB / 1.291 GB, free: 34.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/1.445, allocations: 20.28 kB / 1.291 GB, free: 34.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009459/1.446, allocations: 93.06 kB / 1.291 GB, free: 34.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.446, allocations: 57.86 kB / 1.291 GB, free: 34.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/1.446, allocations: 26.25 kB / 1.291 GB, free: 34.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001743/1.448, allocations: 1.251 MB / 1.292 GB, free: 33.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.448, allocations: 3 kB / 1.292 GB, free: 33.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00262/1.451, allocations: 0.8892 MB / 1.293 GB, free: 33.86 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.0007419/1.452, allocations: 336.4 kB / 1.293 GB, free: 33.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002575/1.454, allocations: 1.588 MB / 1.295 GB, free: 33.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.454, allocations: 0 / 1.295 GB, free: 33.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005501/1.455, allocations: 407.4 kB / 1.295 GB, free: 33.71 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006382/1.461, allocations: 1.139 MB / 1.296 GB, free: 33.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/1.466, allocations: 3.722 MB / 1.3 GB, free: 31.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/1.467, allocations: 1.408 MB / 1.301 GB, free: 30.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002032/1.469, allocations: 403.3 kB / 1.302 GB, free: 30.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/1.469, allocations: 158.7 kB / 1.302 GB, free: 30.82 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.469, allocations: 0 / 1.302 GB, free: 30.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.06388/1.533, allocations: 37.01 MB / 1.338 GB, free: 18.28 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/jenkins/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