Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001487/0.001487, allocations: 112.6 kB / 16.37 MB, free: 6 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.001631/0.001631, allocations: 196 kB / 17.31 MB, free: 5.613 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 64.88 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2894, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002764/0.2923, allocations: 0.8209 MB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001799/0.2925, allocations: 47.78 kB / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.2925, allocations: 0 / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.461e-05/0.2926, allocations: 11.86 kB / 0.952 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.275e-05/0.2927, allocations: 11.88 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.156e-05/0.2928, allocations: 19.98 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.2929, allocations: 59.84 kB / 0.9521 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2931, allocations: 47.88 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.2932, allocations: 23.88 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.583e-05/0.2933, allocations: 31.84 kB / 0.9522 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.2933, allocations: 8 kB / 0.9522 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.2933, allocations: 7.938 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.2933, allocations: 15.94 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.2934, allocations: 35.73 kB / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.2935, allocations: 71.7 kB / 0.9523 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2936, allocations: 0 / 0.9523 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2936, allocations: 0 / 0.9523 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.2936, allocations: 0 / 0.9523 GB, free: 6.867 MB / 0.7325 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.0006038/0.2942, allocations: 387.1 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2942, allocations: 8.031 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.2943, allocations: 8.844 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.2945, allocations: 196.2 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2946, allocations: 4.375 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.2946, allocations: 8.375 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.2948, allocations: 94.19 kB / 0.953 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2948, allocations: 8.125 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.2948, allocations: 11.94 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2948, allocations: 0 / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.668e-05/0.2949, allocations: 35.98 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/0.2955, allocations: 432.7 kB / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.805e-05/0.2956, allocations: 33.16 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.2956, allocations: 29.83 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.2956, allocations: 0 / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2957, allocations: 34.5 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2957, allocations: 0 / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002017/0.2959, allocations: 57.55 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.296, allocations: 85.3 kB / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.2961, allocations: 165 kB / 0.9538 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2962, allocations: 25.7 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.2962, allocations: 108 kB / 0.954 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.2963, allocations: 3.906 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.2963, allocations: 17.72 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2964, allocations: 322.8 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.2965, allocations: 3.938 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/0.2965, allocations: 29.7 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.2965, allocations: 21.72 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2966, allocations: 3.938 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.113e-05/0.2966, allocations: 61.53 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2967, allocations: 8 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.2967, allocations: 3.938 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2967, allocations: 4.062 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.2968, allocations: 4 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2968, allocations: 7.938 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.2968, allocations: 7.844 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.2969, allocations: 4 kB / 0.9544 GB, free: 4.418 MB / 0.7325 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.241e-05/0.297, allocations: 109.8 kB / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.297, allocations: 7.906 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.2971, allocations: 19.8 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2971, allocations: 4 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.2971, allocations: 8 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2971, allocations: 0 / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.2976, allocations: 466.8 kB / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2977, allocations: 0 / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.2977, allocations: 4 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2977, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2977, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2977, allocations: 4.062 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2977, allocations: 0 / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.2978, allocations: 89.77 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.2979, allocations: 85 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.2979, allocations: 4 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.2979, allocations: 0 / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.298, allocations: 8.109 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.298, allocations: 0 / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001376/0.2981, allocations: 125.3 kB / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2981, allocations: 0 / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001943/0.2983, allocations: 8 kB / 0.9553 GB, free: 3.383 MB / 0.7325 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.0001315/0.2985, allocations: 95.25 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.2986, allocations: 23.92 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2986, allocations: 8.062 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.06e-05/0.2986, allocations: 4 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.2988, allocations: 17.77 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.2991, allocations: 162.8 kB / 0.9556 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.2994, allocations: 0.6961 MB / 0.9563 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.2995, allocations: 8.562 kB / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.2995, allocations: 11.44 kB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of SimCode: time 1.7e-07/0.2995, allocations: 0 / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of Templates: time 0.003089/0.3026, allocations: 448.5 kB / 0.9568 GB, free: 1.855 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches