Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001065, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.336 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.539/2.539, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 12 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.591/0.5914, allocations: 153.8 MB / 1.024 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001324/0.5928, allocations: 0.551 MB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.593, allocations: 43.72 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.593, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.5931, allocations: 3.938 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.5932, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.493e-05/0.5933, allocations: 19.98 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.5934, allocations: 59.78 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.5936, allocations: 35.97 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.91e-05/0.5937, allocations: 19.88 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.5938, allocations: 19.86 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.5938, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.5938, allocations: 4 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.5939, allocations: 7.922 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.594, allocations: 61.44 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.5941, allocations: 49.86 kB / 1.025 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5941, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5941, allocations: 3.938 kB / 1.025 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.5941, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005097/0.5946, allocations: 371.2 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5947, allocations: 8.031 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.5947, allocations: 8.844 kB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.595, allocations: 196.2 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.5951, allocations: 12.38 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.5951, allocations: 8.375 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.5953, allocations: 87.89 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5954, allocations: 192 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.5954, allocations: 11.94 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.5954, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.5955, allocations: 39.92 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007707/0.5963, allocations: 436.6 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.248e-05/0.5964, allocations: 41.19 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.5965, allocations: 17.84 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.974e-06/0.5965, allocations: 4 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.5965, allocations: 34.56 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.5965, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002414/0.5968, allocations: 61.47 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.5969, allocations: 77.11 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.5971, allocations: 165.3 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.5971, allocations: 25.95 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5972, allocations: 108 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.5973, allocations: 7.844 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.5973, allocations: 17.72 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5975, allocations: 314.8 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.5975, allocations: 8 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.248e-05/0.5975, allocations: 17.72 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.976e-05/0.5976, allocations: 29.66 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.5976, allocations: 4 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001333/0.5978, allocations: 57.53 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5978, allocations: 7.938 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5978, allocations: 3.938 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5978, allocations: 8.031 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.5979, allocations: 8 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5979, allocations: 0 / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.598, allocations: 11.95 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.598, allocations: 4 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.796e-05/0.5981, allocations: 113.8 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.5982, allocations: 7.906 kB / 1.027 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.5982, allocations: 11.81 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5982, allocations: 0 / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5982, allocations: 0 / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5983, allocations: 0 / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.5987, allocations: 478.8 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5988, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.5988, allocations: 4 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5988, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.5988, allocations: 4 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5988, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5988, allocations: 3.938 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.599, allocations: 85.89 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.599, allocations: 88.95 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.5991, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.5991, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.5991, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.5991, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001228/0.5993, allocations: 119.2 kB / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5993, allocations: 0 / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002695/0.5995, allocations: 16.03 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001423/0.5997, allocations: 103.2 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.734e-05/0.5998, allocations: 19.94 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5998, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.487e-05/0.5998, allocations: 4 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.6001, allocations: 15.88 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.6005, allocations: 220.4 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.6008, allocations: 0.6887 MB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.6008, allocations: 15.44 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.6008, allocations: 0 / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of Templates: time 0.002946/0.6038, allocations: 0.8481 MB / 1.029 GB, free: 9.664 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches