Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001296/0.001296, allocations: 108 kB / 15.61 MB, free: 152 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.001395/0.001395, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 472.7 MB / 0.7452 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.95 kB / 0.9121 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4093, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002964/0.4123, allocations: 0.8294 MB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001787/0.4125, allocations: 43.78 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.675e-05/0.4127, allocations: 8 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.787e-05/0.4127, allocations: 7.922 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.958e-05/0.4129, allocations: 7.875 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.94e-05/0.4129, allocations: 15.98 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.413, allocations: 63.84 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.4132, allocations: 43.91 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/0.4133, allocations: 27.86 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.4134, allocations: 23.86 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.4134, allocations: 8 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.4134, allocations: 4 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.4134, allocations: 23.91 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.4135, allocations: 31.75 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.4136, allocations: 68.05 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4137, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4137, allocations: 4 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.4137, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 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.0004996/0.4142, allocations: 379.2 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4142, allocations: 8.031 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.4143, allocations: 8.844 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.4145, allocations: 204.1 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4146, allocations: 8.312 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.4146, allocations: 8.375 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.4148, allocations: 93.45 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4148, allocations: 192 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.4148, allocations: 11.94 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4148, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.4149, allocations: 35.98 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/0.4156, allocations: 440.5 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.523e-05/0.4156, allocations: 33.16 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.4157, allocations: 21.84 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.4157, allocations: 0 / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.4157, allocations: 42.53 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.4157, allocations: 0 / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001841/0.4159, allocations: 61.47 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.416, allocations: 81.11 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.4162, allocations: 160.7 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.4162, allocations: 25.7 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.4163, allocations: 108 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.4163, allocations: 8.156 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.4163, allocations: 17.72 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4164, allocations: 318.8 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.4165, allocations: 8 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.4165, allocations: 17.72 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.4165, allocations: 25.66 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4165, allocations: 4 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.19e-05/0.4166, allocations: 57.69 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4167, allocations: 8 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4167, allocations: 7.922 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4167, allocations: 0 / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.4168, allocations: 7.938 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4168, allocations: 7.984 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.4168, allocations: 7.844 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.4168, allocations: 4 kB / 1.072 GB, free: 6.754 MB / 0.8262 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.228e-05/0.4169, allocations: 116.2 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.417, allocations: 7.906 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.417, allocations: 19.75 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.417, allocations: 0 / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.417, allocations: 4 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.417, allocations: 0 / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.4174, allocations: 482.7 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4174, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.4174, allocations: 4 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4175, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.4175, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4175, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4175, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.451e-05/0.4176, allocations: 93.83 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.4176, allocations: 81.02 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.4177, allocations: 4 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.4177, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.4177, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.4177, allocations: 3.984 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.015e-05/0.4178, allocations: 117.7 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4178, allocations: 3.938 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001904/0.418, allocations: 15.91 kB / 1.072 GB, free: 5.707 MB / 0.8262 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.0001467/0.4182, allocations: 103.3 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.201e-05/0.4183, allocations: 19.94 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4183, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.4183, allocations: 4 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.4185, allocations: 16.06 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.4188, allocations: 167.7 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4191, allocations: 0.6885 MB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.4192, allocations: 8.422 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.4192, allocations: 19.38 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.4192, allocations: 0 / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of Templates: time 0.002809/0.422, allocations: 444.5 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches