Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.0009633, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001244/0.001245, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.868/2.868, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003954, allocations: 16 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8264, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01743/0.8439, allocations: 17.8 MB / 1.04 GB, free: 14.2 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006886/0.8509, allocations: 4.841 MB / 1.045 GB, free: 9.352 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007829/0.8517, allocations: 19.88 kB / 1.045 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.8524, allocations: 186.7 kB / 1.045 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.8541, allocations: 0.6215 MB / 1.045 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.856, allocations: 0.7376 MB / 1.046 GB, free: 7.793 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00182/0.8578, allocations: 1.677 MB / 1.048 GB, free: 6.109 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005686/0.8584, allocations: 415.2 kB / 1.048 GB, free: 5.695 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008766/0.8593, allocations: 0.5406 MB / 1.049 GB, free: 5.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005928/0.8599, allocations: 497.9 kB / 1.049 GB, free: 4.664 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.904e-05/0.86, allocations: 28 kB / 1.049 GB, free: 4.637 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.8612, allocations: 0.5964 MB / 1.05 GB, free: 4.039 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.8614, allocations: 131.4 kB / 1.05 GB, free: 3.91 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.8617, allocations: 157.3 kB / 1.05 GB, free: 3.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008726/0.8625, allocations: 0.7423 MB / 1.051 GB, free: 3.008 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.8626, allocations: 4 kB / 1.051 GB, free: 3.004 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8626, allocations: 0 / 1.051 GB, free: 3.004 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.8626, allocations: 0 / 1.051 GB, free: 3.004 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001854/0.8644, allocations: 0.9928 MB / 1.052 GB, free: 1.957 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.8645, allocations: 20.02 kB / 1.052 GB, free: 1.938 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.8646, allocations: 82.97 kB / 1.052 GB, free: 1.855 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.8654, allocations: 490.5 kB / 1.052 GB, free: 1.336 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.8654, allocations: 37 kB / 1.052 GB, free: 1.301 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.8655, allocations: 48 kB / 1.052 GB, free: 1.254 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.8666, allocations: 0.6333 MB / 1.053 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.8667, allocations: 0 / 1.053 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.8667, allocations: 20 kB / 1.053 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.8667, allocations: 12 kB / 1.053 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.8678, allocations: 0.5189 MB / 1.053 GB, free: 4 kB / 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.003648/0.8714, allocations: 3.212 MB / 1.057 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007136/0.8722, allocations: 352.2 kB / 1.057 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/0.8726, allocations: 245.6 kB / 1.057 GB, free: 12 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004291/0.8731, allocations: 344.4 kB / 1.057 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.8731, allocations: 34.56 kB / 1.058 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=38): time 4.238e-06/0.8731, allocations: 7.984 kB / 1.058 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38): time 0.002106/0.8753, allocations: 0.858 MB / 1.058 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.8753, allocations: 59.34 kB / 1.058 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/0.876, allocations: 0.5822 MB / 1.059 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.8761, allocations: 37.7 kB / 1.059 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.8764, allocations: 328.4 kB / 1.059 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.8765, allocations: 134.1 kB / 1.059 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.8766, allocations: 12 kB / 1.059 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.8768, allocations: 378.7 kB / 1.06 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.8773, allocations: 213.2 kB / 1.06 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.8779, allocations: 376 kB / 1.06 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.8784, allocations: 256.7 kB / 1.061 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.8784, allocations: 4 kB / 1.061 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001352/0.8798, allocations: 0.7261 MB / 1.061 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.88, allocations: 231.6 kB / 1.062 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.88, allocations: 4 kB / 1.062 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/0.8806, allocations: 148.7 kB / 1.062 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/0.8813, allocations: 151.8 kB / 1.062 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007044/0.882, allocations: 0.6343 MB / 1.062 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.8826, allocations: 115.2 kB / 1.063 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/0.8826, allocations: 27.98 kB / 1.063 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.8826, allocations: 4 kB / 1.063 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001186/0.8838, allocations: 0.6189 MB / 1.063 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.8839, allocations: 8.172 kB / 1.063 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.8839, allocations: 8 kB / 1.063 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.8844, allocations: 168.3 kB / 1.063 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.8845, allocations: 11.94 kB / 1.063 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.8849, allocations: 91.52 kB / 1.064 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.885, allocations: 31.98 kB / 1.064 GB, free: 5.148 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003142/0.8853, allocations: 272.9 kB / 1.064 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.8854, allocations: 63.16 kB / 1.064 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.8869, allocations: 0.6791 MB / 1.065 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.8869, allocations: 4 kB / 1.065 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.8869, allocations: 0 / 1.065 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.8869, allocations: 3.984 kB / 1.065 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.8892, allocations: 1.398 MB / 1.066 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.8892, allocations: 4.094 kB / 1.066 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.8895, allocations: 95.88 kB / 1.066 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003533/0.8899, allocations: 128.7 kB / 1.066 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.8899, allocations: 16 kB / 1.066 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005653/0.8905, allocations: 0.6342 MB / 1.067 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8905, allocations: 32 / 1.067 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.8918, allocations: 0.7319 MB / 1.067 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.892, allocations: 196.1 kB / 1.068 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.8921, allocations: 12.05 kB / 1.068 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.8925, allocations: 59.91 kB / 1.068 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.8926, allocations: 35.91 kB / 1.068 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.8926, allocations: 23.97 kB / 1.068 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004119/0.893, allocations: 399.1 kB / 1.068 GB, free: 260 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.893, allocations: 4 kB / 1.068 GB, free: 256 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001075/0.8941, allocations: 383.3 kB / 1.069 GB, free: 15.88 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006321/0.8948, allocations: 307.8 kB / 1.069 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.8967, allocations: 0.9059 MB / 1.07 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.8967, allocations: 3.938 kB / 1.07 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006621/0.8974, allocations: 307.8 kB / 1.07 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.8987, allocations: 262.9 kB / 1.07 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.9006, allocations: 1.287 MB / 1.072 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.901, allocations: 0.9158 MB / 1.072 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005443/0.9016, allocations: 162.4 kB / 1.073 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.9017, allocations: 55.42 kB / 1.073 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.9017, allocations: 0 / 1.073 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.02046/0.9222, allocations: 11.76 MB / 1.084 GB, free: 36 kB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches