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.001385/0.001385, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001408/0.001409, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 14.99 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.287/2.287, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 64.67 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3262, 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.002287/0.3285, allocations: 0.8347 MB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001125/0.3287, allocations: 35.8 kB / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.3287, allocations: 4 kB / 0.952 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.3288, allocations: 7.875 kB / 0.952 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/0.3289, allocations: 11.91 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.859e-05/0.3289, allocations: 23.98 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.329, allocations: 59.78 kB / 0.9521 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3292, allocations: 39.98 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.3293, allocations: 15.92 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.3294, allocations: 35.8 kB / 0.9522 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3294, allocations: 4 kB / 0.9522 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.3294, allocations: 8 kB / 0.9522 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.3294, allocations: 15.92 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.3295, allocations: 39.78 kB / 0.9522 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.3296, allocations: 71.66 kB / 0.9523 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3296, allocations: 4 kB / 0.9523 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3296, allocations: 0 / 0.9523 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.3297, allocations: 0 / 0.9523 GB, free: 6.871 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.0005043/0.3302, allocations: 384.4 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3302, allocations: 12.02 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.3303, allocations: 8.844 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.3305, allocations: 200.1 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3305, allocations: 4.375 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.3306, allocations: 8.375 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.3307, allocations: 95.8 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3307, allocations: 192 / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3308, allocations: 11.92 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3308, allocations: 4 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.579e-05/0.3309, allocations: 43.91 kB / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.3314, allocations: 424.6 kB / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.43e-05/0.3315, allocations: 41.34 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.3316, allocations: 21.78 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.3316, allocations: 0 / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3316, allocations: 42.55 kB / 0.9535 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3316, allocations: 0 / 0.9535 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001817/0.3318, allocations: 53.48 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.3319, allocations: 81.36 kB / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.332, allocations: 167 kB / 0.9538 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3321, allocations: 25.7 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.3321, allocations: 104 kB / 0.954 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.3321, allocations: 7.906 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3322, allocations: 21.66 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3323, allocations: 318.8 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.3324, allocations: 4 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.3324, allocations: 21.72 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.3324, allocations: 29.7 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3324, allocations: 4 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.942e-05/0.3325, allocations: 53.55 kB / 0.9544 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3325, allocations: 4 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3326, allocations: 3.938 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3326, allocations: 8.062 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.3327, allocations: 7.984 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3327, allocations: 0 / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.3327, allocations: 11.84 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3327, allocations: 0 / 0.9544 GB, free: 4.426 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 8.892e-05/0.3328, allocations: 117.8 kB / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.3329, allocations: 7.906 kB / 0.9545 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.3329, allocations: 15.81 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3329, allocations: 7.922 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3329, allocations: 4 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3329, allocations: 0 / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.3333, allocations: 466.8 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3333, allocations: 3.938 kB / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.3334, allocations: 4 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3334, allocations: 3.938 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3334, allocations: 4 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3334, allocations: 4.062 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3334, allocations: 0 / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.824e-05/0.3335, allocations: 77.83 kB / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.3336, allocations: 89.02 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3336, allocations: 0 / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.3336, allocations: 0 / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.3336, allocations: 12.02 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.3336, allocations: 3.938 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.131e-05/0.3337, allocations: 121.3 kB / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3337, allocations: 0 / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001838/0.3339, 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.0001124/0.334, allocations: 95.25 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.878e-05/0.3341, allocations: 16 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3341, allocations: 4.125 kB / 0.9554 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.3342, allocations: 11.94 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.3343, allocations: 14.12 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.3347, allocations: 158.8 kB / 0.9556 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3349, allocations: 0.6961 MB / 0.9563 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.335, allocations: 12.55 kB / 0.9563 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.335, allocations: 11.44 kB / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.335, allocations: 0 / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of Templates: time 0.002555/0.3376, allocations: 456.6 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 cvode -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