Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008556/0.0008557, 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.001082/0.001082, 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.735/1.735, allocations: 223.3 MB / 240 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.807/2.807, allocations: 437.7 MB / 0.7117 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004227, allocations: 8 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8865/0.8869, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001535/0.8885, allocations: 0.5238 MB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000151/0.8887, allocations: 39.78 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.8888, allocations: 4 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.8888, allocations: 7.922 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.693e-05/0.8889, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.155e-05/0.889, allocations: 15.98 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.8892, allocations: 55.84 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.8894, allocations: 40.14 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.8895, allocations: 15.86 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.8896, allocations: 23.8 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.8896, allocations: 4 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.8896, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.8896, allocations: 11.92 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.8897, allocations: 33.7 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.8898, allocations: 55.83 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8898, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8898, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.8899, allocations: 4 kB / 1.023 GB, free: 15.25 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.0005726/0.8904, allocations: 365 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.8905, allocations: 12.03 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.8906, allocations: 7.906 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.8909, allocations: 190.9 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.8909, allocations: 8 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.891, allocations: 8 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.8912, allocations: 104.9 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.8913, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.8913, allocations: 4 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.8913, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.8915, allocations: 31.98 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008833/0.8924, allocations: 444.6 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.8925, allocations: 37.22 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.207e-05/0.8926, allocations: 17.72 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.8927, allocations: 4 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.8927, allocations: 34.59 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.8927, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003087/0.8931, allocations: 57.48 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/0.8932, allocations: 77.11 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.8935, allocations: 168.6 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.8935, allocations: 25.95 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.8936, allocations: 104 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.8937, allocations: 11.84 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/0.8937, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.894, allocations: 318.8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.894, allocations: 7.984 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.664e-05/0.8941, allocations: 17.72 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.392e-05/0.8941, allocations: 12 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8942, allocations: 3.938 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001812/0.8944, allocations: 57.53 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.8944, allocations: 8 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.8944, allocations: 0 / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.8945, allocations: 3.953 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.8946, allocations: 8 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.8946, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.8947, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.8947, allocations: 4 kB / 1.025 GB, free: 12.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.8949, allocations: 121.9 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.895, allocations: 11.89 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.8951, allocations: 11.81 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.8951, allocations: 4 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.8951, allocations: 3.953 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8951, allocations: 0 / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007161/0.8959, allocations: 474.7 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.8959, allocations: 4 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.8959, allocations: 4 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.8959, allocations: 3.953 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.896, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.896, allocations: 3.984 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.896, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.8962, allocations: 77.97 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.8963, allocations: 89 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.8963, allocations: 7.953 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.8964, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.8964, allocations: 11.95 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.8965, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000176/0.8967, allocations: 119.2 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8967, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003708/0.8971, allocations: 11.94 kB / 1.026 GB, free: 11.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001728/0.8972, allocations: 101.4 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.8974, allocations: 19.98 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8974, allocations: 0 / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.8975, allocations: 11.94 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.8977, allocations: 4 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.8983, allocations: 178.8 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.8988, allocations: 0.6965 MB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.345e-05/0.8988, allocations: 8.438 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.8989, allocations: 11.44 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.8989, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.004346/0.9032, allocations: 415.8 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches