Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006499/0.006499, allocations: 102 kB / 15.73 MB, free: 6.062 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.001356/0.001356, allocations: 191 kB / 16.67 MB, free: 5.977 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 64.12 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.816, allocations: 151.6 MB / 1.166 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1459/0.9619, allocations: 154.4 MB / 1.317 GB, free: 8.988 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04407/1.006, allocations: 30.4 MB / 1.347 GB, free: 10.52 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005869/1.012, allocations: 143.1 kB / 1.347 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00355/1.016, allocations: 1.055 MB / 1.348 GB, free: 9.316 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00882/1.024, allocations: 3.324 MB / 1.351 GB, free: 5.984 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00596/1.03, allocations: 2.503 MB / 1.353 GB, free: 3.512 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006974/1.037, allocations: 5.416 MB / 1.359 GB, free: 14.08 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003261/1.041, allocations: 2.229 MB / 1.361 GB, free: 11.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005381/1.046, allocations: 2.763 MB / 1.364 GB, free: 9.027 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/1.049, allocations: 1.965 MB / 1.366 GB, free: 7.055 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0009286/1.05, allocations: 212 kB / 1.366 GB, free: 6.848 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/1.054, allocations: 1.092 MB / 1.367 GB, free: 5.754 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009147/1.054, allocations: 0.5565 MB / 1.367 GB, free: 5.195 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002496/1.057, allocations: 1.275 MB / 1.369 GB, free: 3.914 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005194/1.062, allocations: 3.313 MB / 1.372 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.062, allocations: 3.984 kB / 1.372 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.493e-06/1.062, allocations: 3.938 kB / 1.372 GB, free: 0.582 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001197/1.062, allocations: 0 / 1.372 GB, free: 0.582 MB / 1.092 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.005632/1.068, allocations: 2.791 MB / 1.375 GB, free: 13.73 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.068, allocations: 12.03 kB / 1.375 GB, free: 13.71 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/1.068, allocations: 169.4 kB / 1.375 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/1.069, allocations: 260.9 kB / 1.375 GB, free: 13.28 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/1.071, allocations: 1.527 MB / 1.377 GB, free: 11.68 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/1.071, allocations: 106.3 kB / 1.377 GB, free: 11.57 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/1.071, allocations: 136 kB / 1.377 GB, free: 11.44 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/1.073, allocations: 1.167 MB / 1.378 GB, free: 10.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/1.073, allocations: 0 / 1.378 GB, free: 10.25 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/1.073, allocations: 44 kB / 1.378 GB, free: 10.2 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/1.073, allocations: 32 kB / 1.378 GB, free: 10.17 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/1.075, allocations: 1.013 MB / 1.379 GB, free: 9.152 MB / 1.107 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.008951/1.084, allocations: 6.319 MB / 1.385 GB, free: 2.363 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009066/1.085, allocations: 0.5669 MB / 1.386 GB, free: 1.789 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/1.085, allocations: 388.6 kB / 1.386 GB, free: 1.406 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/1.086, allocations: 0.5031 MB / 1.387 GB, free: 0.793 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/1.086, allocations: 43.12 kB / 1.387 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001297/1.087, allocations: 234.8 kB / 1.387 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of pre-optimization done (n=58): time 3.357e-06/1.087, allocations: 0 / 1.387 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of matching and sorting (n=58): time 0.002028/1.089, allocations: 1.16 MB / 1.388 GB, free: 15.35 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/1.089, allocations: 63.91 kB / 1.388 GB, free: 15.27 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/1.091, allocations: 1.904 MB / 1.39 GB, free: 13.34 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.41e-05/1.092, allocations: 41.7 kB / 1.39 GB, free: 13.3 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007113/1.092, allocations: 0.9224 MB / 1.391 GB, free: 12.36 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/1.092, allocations: 209 kB / 1.391 GB, free: 12.16 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004037/1.093, allocations: 290.6 kB / 1.391 GB, free: 11.87 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.093, allocations: 353.9 kB / 1.392 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007523/1.094, allocations: 449.8 kB / 1.392 GB, free: 11.07 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009698/1.095, allocations: 0.6986 MB / 1.393 GB, free: 10.3 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/1.096, allocations: 0.9618 MB / 1.394 GB, free: 9.293 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/1.096, allocations: 8 kB / 1.394 GB, free: 9.285 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002496/1.099, allocations: 1.396 MB / 1.395 GB, free: 7.879 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.099, allocations: 11.98 kB / 1.395 GB, free: 7.867 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.099, allocations: 384 / 1.395 GB, free: 7.867 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/1.099, allocations: 19.94 kB / 1.395 GB, free: 7.848 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.1, allocations: 271.6 kB / 1.395 GB, free: 7.582 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/1.1, allocations: 15.88 kB / 1.395 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.101, allocations: 71.92 kB / 1.395 GB, free: 7.496 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.102, allocations: 67.95 kB / 1.395 GB, free: 7.43 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001174/1.103, allocations: 0.7095 MB / 1.396 GB, free: 6.715 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009103/1.104, allocations: 0.6528 MB / 1.397 GB, free: 5.988 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001383/1.105, allocations: 0.9188 MB / 1.398 GB, free: 5.027 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.116e-06/1.105, allocations: 3.938 kB / 1.398 GB, free: 5.023 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002226/1.107, allocations: 1.35 MB / 1.399 GB, free: 3.664 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.107, allocations: 8 kB / 1.399 GB, free: 3.656 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.107, allocations: 4 kB / 1.399 GB, free: 3.652 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/1.107, allocations: 8 kB / 1.399 GB, free: 3.645 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.109, allocations: 279.5 kB / 1.399 GB, free: 3.371 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/1.109, allocations: 8 kB / 1.399 GB, free: 3.363 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/1.11, allocations: 96.14 kB / 1.399 GB, free: 3.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/1.11, allocations: 55.95 kB / 1.399 GB, free: 3.215 MB / 1.123 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.000272/1.11, allocations: 240 kB / 1.4 GB, free: 2.973 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/1.111, allocations: 197.5 kB / 1.4 GB, free: 2.777 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/1.113, allocations: 1.091 MB / 1.401 GB, free: 1.68 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/1.113, allocations: 12 kB / 1.401 GB, free: 1.668 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/1.113, allocations: 3.938 kB / 1.401 GB, free: 1.664 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.113, allocations: 11.98 kB / 1.401 GB, free: 1.652 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/1.116, allocations: 2.441 MB / 1.403 GB, free: 15.13 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.116, allocations: 0 / 1.403 GB, free: 15.13 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/1.116, allocations: 139.8 kB / 1.403 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/1.117, allocations: 4 kB / 1.403 GB, free: 14.99 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/1.117, allocations: 16 kB / 1.403 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.117, allocations: 4 kB / 1.403 GB, free: 14.97 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.117, allocations: 4 kB / 1.403 GB, free: 14.97 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/1.118, allocations: 1.074 MB / 1.405 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/1.119, allocations: 362.3 kB / 1.405 GB, free: 13.48 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/1.119, allocations: 20 kB / 1.405 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/1.119, allocations: 27.97 kB / 1.405 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/1.12, allocations: 52.58 kB / 1.405 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/1.12, allocations: 24 kB / 1.405 GB, free: 13.36 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001563/1.121, allocations: 1.26 MB / 1.406 GB, free: 12.09 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.463e-06/1.121, allocations: 4 kB / 1.406 GB, free: 12.08 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001838/1.123, allocations: 0.8964 MB / 1.407 GB, free: 11.18 MB / 1.139 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.002166/1.125, allocations: 1.855 MB / 1.409 GB, free: 9.297 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002606/1.128, allocations: 1.623 MB / 1.411 GB, free: 7.68 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.128, allocations: 4 kB / 1.411 GB, free: 7.676 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005862/1.128, allocations: 411.5 kB / 1.411 GB, free: 7.273 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/1.132, allocations: 1.076 MB / 1.412 GB, free: 6.223 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/1.151, allocations: 13.1 MB / 1.425 GB, free: 8.785 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008931/1.152, allocations: 1.409 MB / 1.426 GB, free: 7.344 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001645/1.154, allocations: 407.7 kB / 1.427 GB, free: 6.941 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.155, allocations: 0.8312 MB / 1.427 GB, free: 6.109 MB / 1.154 GB Notification: Performance of SimCode: time 8.02e-07/1.155, allocations: 0 / 1.427 GB, free: 6.109 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09634/1.251, allocations: 56.06 MB / 1.482 GB, free: 14.71 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.21, allocations: 0 / 1.482 GB, free: 14.71 MB / 1.217 GB (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches