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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001615/0.001615, allocations: 111.1 kB / 16.42 MB, free: 6.469 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.001773/0.001773, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 469.4 MB / 0.7428 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 71.89 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.983/0.9851, allocations: 159.1 MB / 1.221 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03515/1.02, allocations: 30.74 MB / 1.251 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0135/1.034, allocations: 10.85 MB / 1.262 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/1.035, allocations: 27.81 kB / 1.262 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/1.037, allocations: 393.3 kB / 1.262 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003476/1.04, allocations: 1.208 MB / 1.263 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/1.043, allocations: 0.8614 MB / 1.264 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002806/1.046, allocations: 2.069 MB / 1.266 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/1.047, allocations: 0.6815 MB / 1.267 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/1.049, allocations: 1.004 MB / 1.268 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/1.051, allocations: 0.669 MB / 1.268 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002301/1.051, allocations: 56 kB / 1.268 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/1.053, allocations: 0.6122 MB / 1.269 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003736/1.053, allocations: 171.2 kB / 1.269 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/1.054, allocations: 429.7 kB / 1.269 GB, free: 416 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00243/1.056, allocations: 1.096 MB / 1.271 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.056, allocations: 0 / 1.271 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.056, allocations: 0 / 1.271 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.385e-05/1.056, allocations: 0 / 1.271 GB, free: 15.31 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002371/1.059, allocations: 1.16 MB / 1.272 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.059, allocations: 8.625 kB / 1.272 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/1.059, allocations: 99.8 kB / 1.272 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/1.06, allocations: 0.5891 MB / 1.272 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/1.06, allocations: 45 kB / 1.272 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/1.06, allocations: 52 kB / 1.272 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/1.061, allocations: 414.4 kB / 1.273 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/1.061, allocations: 3.984 kB / 1.273 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/1.061, allocations: 19.94 kB / 1.273 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/1.061, allocations: 12 kB / 1.273 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/1.062, allocations: 299.8 kB / 1.273 GB, free: 12.54 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.003041/1.065, allocations: 1.854 MB / 1.275 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/1.065, allocations: 170.5 kB / 1.275 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/1.066, allocations: 91.38 kB / 1.275 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/1.066, allocations: 344.5 kB / 1.276 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/1.066, allocations: 30.56 kB / 1.276 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.405e-06/1.066, allocations: 0 / 1.276 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.000817/1.067, allocations: 300.8 kB / 1.276 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/1.067, allocations: 63.28 kB / 1.276 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000836/1.068, allocations: 0.6882 MB / 1.277 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/1.068, allocations: 29.7 kB / 1.277 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/1.068, allocations: 364.7 kB / 1.277 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/1.068, allocations: 63.09 kB / 1.277 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/1.068, allocations: 97.95 kB / 1.277 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.068, allocations: 374.8 kB / 1.277 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/1.069, allocations: 114.3 kB / 1.278 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/1.069, allocations: 175.8 kB / 1.278 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/1.069, allocations: 240.8 kB / 1.278 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.069, allocations: 0 / 1.278 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007239/1.07, allocations: 402.1 kB / 1.278 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.07, allocations: 5.719 kB / 1.278 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.07, allocations: 4 kB / 1.278 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.07, allocations: 0 / 1.278 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.071, allocations: 159.9 kB / 1.279 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/1.073, allocations: 2.368 MB / 1.281 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/1.073, allocations: 59.5 kB / 1.281 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/1.073, allocations: 19.98 kB / 1.281 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004226/1.074, allocations: 247.8 kB / 1.281 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002979/1.074, allocations: 183.5 kB / 1.281 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004283/1.074, allocations: 228.9 kB / 1.282 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/1.074, allocations: 4 kB / 1.282 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007486/1.075, allocations: 376.6 kB / 1.282 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.075, allocations: 11.94 kB / 1.282 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/1.075, allocations: 0 / 1.282 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-06/1.075, allocations: 0 / 1.282 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/1.076, allocations: 99.81 kB / 1.282 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.076, allocations: 11.92 kB / 1.282 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/1.076, allocations: 43.84 kB / 1.282 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/1.076, allocations: 12 kB / 1.282 GB, free: 2.914 MB / 0.9981 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.0001622/1.076, allocations: 204.1 kB / 1.282 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/1.076, allocations: 71.06 kB / 1.282 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006588/1.077, allocations: 311.4 kB / 1.283 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.077, allocations: 7.984 kB / 1.283 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.077, allocations: 3.938 kB / 1.283 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/1.077, allocations: 156.2 kB / 1.283 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/1.077, allocations: 7.984 kB / 1.283 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/1.078, allocations: 15.98 kB / 1.283 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/1.078, allocations: 19.97 kB / 1.283 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007616/1.079, allocations: 373.6 kB / 1.283 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008155/1.079, allocations: 0.5528 MB / 1.284 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002011/1.08, allocations: 91.98 kB / 1.284 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006106/1.08, allocations: 475 kB / 1.284 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of Backend: time 7.81e-07/1.08, allocations: 0 / 1.284 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002608/1.083, allocations: 0.67 MB / 1.285 GB, free: 15.93 MB / 1.014 GB Notification: Performance of SimCode: time 0.003267/1.086, allocations: 1.8 MB / 1.287 GB, free: 14.09 MB / 1.014 GB Notification: Performance of Templates: time 0.02734/1.114, allocations: 13.77 MB / 1.3 GB, free: 0.5273 MB / 1.014 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=480 -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