Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001106/0.001106, allocations: 99.5 kB / 16.02 MB, free: 76 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.001773/0.001773, allocations: 188.9 kB / 16.92 MB, free: 6.75 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.775/2.775, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003848, allocations: 12.84 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3147, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001079/0.3158, allocations: 0.5414 MB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001436/0.3159, allocations: 35.8 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.316, allocations: 0 / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.3161, allocations: 7.922 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.3162, allocations: 11.94 kB / 1.06 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.459e-05/0.3162, allocations: 12 kB / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.3164, allocations: 67.73 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.3165, allocations: 39.97 kB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.3166, allocations: 15.86 kB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.3166, allocations: 19.86 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3167, allocations: 8 kB / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/0.3167, allocations: 0 / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.3167, allocations: 19.81 kB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.3168, allocations: 49.45 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.346e-05/0.3168, allocations: 52.16 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3169, allocations: 0 / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3169, allocations: 0 / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3169, allocations: 0 / 1.06 GB, free: 4.059 MB / 0.8106 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.0004246/0.3173, allocations: 367.3 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3174, allocations: 16.03 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.3174, allocations: 8.844 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3176, allocations: 188.2 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3177, allocations: 12.31 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.3177, allocations: 4.375 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3179, allocations: 95.94 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3179, allocations: 192 / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3179, allocations: 3.938 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.3179, allocations: 8 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.634e-05/0.318, allocations: 39.92 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.3186, allocations: 432.6 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.974e-05/0.3187, allocations: 45.25 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.3187, allocations: 25.75 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.3188, allocations: 4 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3188, allocations: 30.56 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3188, allocations: 0 / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001861/0.319, allocations: 57.7 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3191, allocations: 77.11 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3192, allocations: 164.1 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.3192, allocations: 29.7 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.3193, allocations: 107.9 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-06/0.3193, allocations: 4 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.3194, allocations: 9.719 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3195, allocations: 322.8 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.3195, allocations: 11.97 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.3195, allocations: 25.64 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.87e-05/0.3196, allocations: 21.72 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3196, allocations: 0 / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.73e-05/0.3197, allocations: 61.53 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3197, allocations: 8 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3197, allocations: 11.98 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3197, allocations: 0 / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.3198, allocations: 4 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3198, allocations: 7.938 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.3199, allocations: 7.844 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3199, allocations: 4 kB / 1.062 GB, free: 1.625 MB / 0.8106 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.107e-05/0.32, allocations: 113.8 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.32, allocations: 7.906 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.32, allocations: 15.8 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3201, allocations: 4 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3201, allocations: 4 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3201, allocations: 0 / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.3205, allocations: 470.8 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3205, allocations: 0 / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.3205, allocations: 4 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3205, allocations: 0 / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3205, allocations: 4 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3205, allocations: 4 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3205, allocations: 0 / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.478e-05/0.3206, allocations: 85.83 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.3207, allocations: 85 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.3207, allocations: 4 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.3207, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.3207, allocations: 4.031 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3208, allocations: 4 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.717e-05/0.3208, allocations: 121.9 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3209, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001941/0.3211, allocations: 11.91 kB / 1.063 GB, free: 0.5898 MB / 0.8106 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.000118/0.3212, allocations: 99.19 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.791e-05/0.3213, allocations: 16 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3213, allocations: 8.062 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.3213, allocations: 11.92 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.3215, allocations: 12.97 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.3218, allocations: 202.4 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.3221, allocations: 0.6965 MB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.3221, allocations: 11.44 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.3221, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of Templates: time 0.002427/0.3245, allocations: 0.8366 MB / 1.065 GB, free: 14.62 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches