Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001353, allocations: 103.8 kB / 16.27 MB, free: 6.398 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.001278/0.001279, allocations: 191.3 kB / 17.2 MB, free: 5.969 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.474/1.474, allocations: 222.9 MB / 240.9 MB, free: 15.29 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.588/2.588, allocations: 437.1 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 68.94 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3711, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02273/0.3939, allocations: 15.56 MB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007793/0.4017, allocations: 4.338 MB / 1.037 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005613/0.4023, allocations: 15.88 kB / 1.037 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008969/0.4033, allocations: 258.3 kB / 1.038 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.4051, allocations: 0.6113 MB / 1.038 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.407, allocations: 0.6997 MB / 1.039 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.4084, allocations: 1.021 MB / 1.04 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005055/0.4089, allocations: 341 kB / 1.04 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006868/0.4096, allocations: 418.3 kB / 1.041 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.4101, allocations: 326.5 kB / 1.041 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.4102, allocations: 28 kB / 1.041 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.4114, allocations: 0.62 MB / 1.042 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.4115, allocations: 107.5 kB / 1.042 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.4118, allocations: 230.7 kB / 1.042 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.4128, allocations: 0.7517 MB / 1.043 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4128, allocations: 3.984 kB / 1.043 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4128, allocations: 4 kB / 1.043 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.4128, allocations: 0 / 1.043 GB, free: 1.273 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001273/0.4141, allocations: 0.8174 MB / 1.043 GB, free: 412 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4141, allocations: 12.03 kB / 1.043 GB, free: 400 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.4142, allocations: 60.28 kB / 1.044 GB, free: 340 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007019/0.415, allocations: 417.4 kB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.415, allocations: 20.44 kB / 1.044 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.415, allocations: 28 kB / 1.044 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.4155, allocations: 219.2 kB / 1.044 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4155, allocations: 0 / 1.044 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.4155, allocations: 8 kB / 1.044 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4155, allocations: 4 kB / 1.044 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.416, allocations: 169.6 kB / 1.044 GB, free: 15.44 MB / 0.8262 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.001623/0.4176, allocations: 0.9496 MB / 1.045 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.4179, allocations: 130.5 kB / 1.045 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.4181, allocations: 68.81 kB / 1.045 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/0.4185, allocations: 336.4 kB / 1.046 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.4185, allocations: 42.56 kB / 1.046 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.4185, allocations: 0 / 1.046 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006469/0.4192, allocations: 236.8 kB / 1.046 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.4193, allocations: 59.34 kB / 1.046 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.4199, allocations: 478 kB / 1.047 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.4199, allocations: 37.7 kB / 1.047 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.4201, allocations: 228.5 kB / 1.047 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.4202, allocations: 55.36 kB / 1.047 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.4203, allocations: 57.64 kB / 1.047 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4204, allocations: 354.7 kB / 1.047 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.4206, allocations: 72.81 kB / 1.047 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.4209, allocations: 155.7 kB / 1.048 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.4213, allocations: 160.7 kB / 1.048 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4213, allocations: 0 / 1.048 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000544/0.4219, allocations: 261 kB / 1.048 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4219, allocations: 4 kB / 1.048 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4219, allocations: 0 / 1.048 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4219, allocations: 4 kB / 1.048 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.4222, allocations: 47.91 kB / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4222, allocations: 4 kB / 1.048 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.4225, allocations: 31.81 kB / 1.048 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.4225, allocations: 12 kB / 1.048 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003003/0.4228, allocations: 188.1 kB / 1.048 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002743/0.4231, allocations: 164.1 kB / 1.048 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003605/0.4235, allocations: 172.1 kB / 1.049 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.4235, allocations: 0 / 1.049 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005463/0.4241, allocations: 252.9 kB / 1.049 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.4241, allocations: 12.06 kB / 1.049 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.4241, allocations: 0 / 1.049 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.4241, allocations: 4 kB / 1.049 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.4243, allocations: 43.91 kB / 1.049 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4243, allocations: 7.984 kB / 1.049 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.4246, allocations: 31.91 kB / 1.049 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.4247, allocations: 12 kB / 1.049 GB, free: 10.52 MB / 0.8262 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 (24): * Single equations (assignments): 24 * 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.0001808/0.4249, allocations: 200.1 kB / 1.049 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.425, allocations: 43.44 kB / 1.049 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005769/0.4255, allocations: 251.7 kB / 1.049 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.4256, allocations: 8 kB / 1.049 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4256, allocations: 0 / 1.049 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4256, allocations: 4 kB / 1.049 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4266, allocations: 0.7043 MB / 1.05 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4266, allocations: 0 / 1.05 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.4268, allocations: 31.97 kB / 1.05 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4268, allocations: 4.125 kB / 1.05 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.4268, allocations: 8 kB / 1.05 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4268, allocations: 7.938 kB / 1.05 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4268, allocations: 0 / 1.05 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.4274, allocations: 342.5 kB / 1.05 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.4275, allocations: 136.6 kB / 1.051 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.4276, allocations: 7.938 kB / 1.051 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.4278, allocations: 15.92 kB / 1.051 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.4279, allocations: 15.97 kB / 1.051 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.4279, allocations: 11.98 kB / 1.051 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000386/0.4283, allocations: 338.9 kB / 1.051 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4283, allocations: 0 / 1.051 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006439/0.4289, allocations: 199.7 kB / 1.051 GB, free: 8.102 MB / 0.8262 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 (16): * Single equations (assignments): 14 * 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.001643/0.4306, allocations: 477.2 kB / 1.052 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000697/0.4313, allocations: 275.7 kB / 1.052 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4313, allocations: 0 / 1.052 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.4315, allocations: 92.27 kB / 1.052 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4326, allocations: 199.5 kB / 1.052 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.4339, allocations: 0.7342 MB / 1.053 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.4345, allocations: 0.8346 MB / 1.054 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.902e-05/0.4346, allocations: 39.42 kB / 1.054 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.4346, allocations: 4 kB / 1.054 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of Templates: time 0.01362/0.4482, allocations: 7.328 MB / 1.061 GB, free: 14.28 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches