Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 98.8 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.001678/0.001678, allocations: 187.8 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003791, allocations: 12.12 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3301, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001143/0.3313, allocations: 0.5375 MB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001383/0.3315, allocations: 43.78 kB / 1.06 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.3315, allocations: 0 / 1.06 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.3316, allocations: 7.922 kB / 1.06 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.147e-05/0.3317, allocations: 8 kB / 1.06 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.583e-05/0.3317, allocations: 15.92 kB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.977e-05/0.3318, allocations: 59.77 kB / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.332, allocations: 55.88 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.332, allocations: 11.88 kB / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.3321, allocations: 19.86 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3321, allocations: 4 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-06/0.3321, allocations: 0 / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.3322, allocations: 15.88 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.3322, allocations: 45.52 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.473e-05/0.3323, allocations: 60.08 kB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3323, allocations: 0 / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3323, allocations: 4 kB / 1.06 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3323, allocations: 0 / 1.06 GB, free: 4.016 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.0004087/0.3328, allocations: 363.3 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3328, allocations: 12.03 kB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.3329, allocations: 8.844 kB / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3331, allocations: 188.2 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3331, allocations: 8.375 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.3331, allocations: 4.375 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.3333, allocations: 99.89 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3334, allocations: 192 / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3334, allocations: 3.938 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3334, allocations: 4 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.3335, allocations: 39.92 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.334, allocations: 432.6 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.348e-05/0.3341, allocations: 45.17 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.3342, allocations: 17.84 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.3342, allocations: 4 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.3342, allocations: 34.56 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.3342, allocations: 0 / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002117/0.3344, allocations: 53.48 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3345, allocations: 85.09 kB / 1.062 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3346, allocations: 157.5 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3346, allocations: 29.7 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.3347, allocations: 116.1 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.3347, allocations: 4 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.3348, allocations: 13.7 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3349, allocations: 318.8 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.3349, allocations: 4 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.3349, allocations: 21.7 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/0.335, allocations: 29.66 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.335, allocations: 3.938 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.063e-05/0.3351, allocations: 65.47 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3351, allocations: 9.406 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.3351, allocations: 3.938 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3351, allocations: 0 / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.3352, allocations: 8 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.3352, allocations: 0 / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.3352, allocations: 7.844 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3353, allocations: 4 kB / 1.062 GB, free: 1.602 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 7.708e-05/0.3353, allocations: 117.9 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.3354, allocations: 7.906 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.3354, allocations: 15.8 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3354, allocations: 4 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3354, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3355, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.3358, allocations: 470.9 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3358, allocations: 4 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.3359, allocations: 7.984 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3359, allocations: 0 / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3359, allocations: 0 / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3359, allocations: 0 / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3359, allocations: 11.92 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.488e-05/0.336, allocations: 81.91 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.336, allocations: 85 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.336, allocations: 4 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.3361, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.3361, allocations: 4 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.3361, allocations: 0 / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.068e-05/0.3362, allocations: 122.1 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3362, allocations: 0 / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001908/0.3364, allocations: 11.91 kB / 1.063 GB, free: 0.5625 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.0001052/0.3365, allocations: 99.28 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.737e-05/0.3366, allocations: 23.92 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3366, allocations: 0 / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.3366, allocations: 4 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.3368, allocations: 11.94 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.3371, allocations: 210.4 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3374, allocations: 0.6965 MB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.3374, allocations: 11.44 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3374, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.002215/0.3396, allocations: 0.8403 MB / 1.065 GB, free: 14.59 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches