Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001594/0.001594, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.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.681/2.681, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.91 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8687, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01962/0.8884, allocations: 17.4 MB / 1.034 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007264/0.8957, allocations: 4.933 MB / 1.038 GB, free: 12.34 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007561/0.8965, allocations: 15.88 kB / 1.038 GB, free: 12.33 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000889/0.8974, allocations: 218.9 kB / 1.039 GB, free: 12.11 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.8991, allocations: 0.556 MB / 1.039 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.901, allocations: 0.6423 MB / 1.04 GB, free: 10.92 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.9025, allocations: 1.27 MB / 1.041 GB, free: 9.641 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.903, allocations: 294.7 kB / 1.041 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006611/0.9036, allocations: 374.4 kB / 1.042 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.904, allocations: 318.6 kB / 1.042 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.9041, allocations: 20 kB / 1.042 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.9054, allocations: 0.6978 MB / 1.043 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.9055, allocations: 131.5 kB / 1.043 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.9058, allocations: 230.6 kB / 1.043 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.9069, allocations: 0.8529 MB / 1.044 GB, free: 6.746 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9069, allocations: 0 / 1.044 GB, free: 6.746 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9069, allocations: 0 / 1.044 GB, free: 6.746 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.9069, allocations: 0 / 1.044 GB, free: 6.746 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001306/0.9082, allocations: 0.8875 MB / 1.045 GB, free: 5.809 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.9083, allocations: 8.031 kB / 1.045 GB, free: 5.801 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.9085, allocations: 60.28 kB / 1.045 GB, free: 5.742 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.9091, allocations: 445.7 kB / 1.045 GB, free: 5.266 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.9091, allocations: 24.5 kB / 1.045 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.9091, allocations: 32 kB / 1.045 GB, free: 5.211 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.9097, allocations: 286.2 kB / 1.046 GB, free: 4.914 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.9097, allocations: 3.938 kB / 1.046 GB, free: 4.91 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.9097, allocations: 11.98 kB / 1.046 GB, free: 4.898 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.9097, allocations: 8 kB / 1.046 GB, free: 4.891 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.9102, allocations: 194 kB / 1.046 GB, free: 4.699 MB / 0.795 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.00185/0.912, allocations: 1.472 MB / 1.047 GB, free: 3.121 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.9124, allocations: 158.8 kB / 1.047 GB, free: 2.957 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.9125, allocations: 88.8 kB / 1.047 GB, free: 2.867 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/0.9142, allocations: 1.272 MB / 1.049 GB, free: 1.402 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.9142, allocations: 42.5 kB / 1.049 GB, free: 1.352 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.9142, allocations: 0 / 1.049 GB, free: 1.352 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006544/0.9149, allocations: 255.4 kB / 1.049 GB, free: 1.098 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.915, allocations: 55.41 kB / 1.049 GB, free: 1.031 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/0.9156, allocations: 0.5771 MB / 1.05 GB, free: 452 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.9156, allocations: 29.7 kB / 1.05 GB, free: 416 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.9159, allocations: 272 kB / 1.05 GB, free: 140 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.9159, allocations: 47.3 kB / 1.05 GB, free: 92 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.916, allocations: 73.88 kB / 1.05 GB, free: 12 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.9162, allocations: 362.8 kB / 1.05 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.9164, allocations: 81.94 kB / 1.05 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.9167, allocations: 218.7 kB / 1.051 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.9171, allocations: 231.3 kB / 1.051 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.9171, allocations: 4 kB / 1.051 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005725/0.9177, allocations: 310.7 kB / 1.051 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.9177, allocations: 7.938 kB / 1.051 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.9177, allocations: 4 kB / 1.051 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.9178, allocations: 4 kB / 1.051 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.918, allocations: 67.89 kB / 1.051 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.918, allocations: 4 kB / 1.051 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.9184, allocations: 59.72 kB / 1.051 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.9184, allocations: 16 kB / 1.051 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003094/0.9187, allocations: 212.6 kB / 1.052 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002925/0.919, allocations: 213.5 kB / 1.052 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000372/0.9194, allocations: 222.8 kB / 1.052 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.9194, allocations: 4 kB / 1.052 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005465/0.92, allocations: 304.8 kB / 1.052 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.92, allocations: 8 kB / 1.052 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.92, allocations: 7.938 kB / 1.052 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.92, allocations: 4 kB / 1.052 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.9203, allocations: 59.91 kB / 1.052 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.9203, allocations: 7.984 kB / 1.052 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.9206, allocations: 44.02 kB / 1.052 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.9207, allocations: 19.98 kB / 1.052 GB, free: 13.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001267/0.9208, allocations: 196.1 kB / 1.053 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.9209, allocations: 51.56 kB / 1.053 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.9214, allocations: 263.2 kB / 1.053 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.9214, allocations: 3.938 kB / 1.053 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.9215, allocations: 0 / 1.053 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9215, allocations: 0 / 1.053 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.9225, allocations: 0.7355 MB / 1.054 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.9225, allocations: 0 / 1.054 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.9226, allocations: 39.91 kB / 1.054 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.9227, allocations: 4 kB / 1.054 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.9227, allocations: 0 / 1.054 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.9227, allocations: 4 kB / 1.054 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9227, allocations: 192 / 1.054 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.9232, allocations: 363.7 kB / 1.054 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.9233, allocations: 148.4 kB / 1.054 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.9234, allocations: 8 kB / 1.054 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.9236, allocations: 19.98 kB / 1.054 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.9237, allocations: 27.91 kB / 1.054 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.9237, allocations: 4 kB / 1.054 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004615/0.9242, allocations: 422.8 kB / 1.055 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.593e-06/0.9242, allocations: 0 / 1.055 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007636/0.925, allocations: 231.5 kB / 1.055 GB, free: 10.79 MB / 0.8106 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00118/0.9261, allocations: 493.5 kB / 1.055 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007131/0.9269, allocations: 320.5 kB / 1.056 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9269, allocations: 0 / 1.056 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.9271, allocations: 87.95 kB / 1.056 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.9283, allocations: 248.3 kB / 1.056 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.9297, allocations: 0.9477 MB / 1.057 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.9302, allocations: 0.8429 MB / 1.058 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003558/0.9306, allocations: 108.2 kB / 1.058 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.9306, allocations: 39.42 kB / 1.058 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.9307, allocations: 0 / 1.058 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of Templates: time 0.01736/0.948, allocations: 9.909 MB / 1.067 GB, free: 14.03 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches