Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001211/0.001211, allocations: 187 kB / 17.34 MB, free: 5.762 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.2 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9219/0.9233, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002126/0.9255, allocations: 0.8309 MB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001285/0.9256, allocations: 36.58 kB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.9257, allocations: 2.219 kB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.466e-05/0.9257, allocations: 9.938 kB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.804e-05/0.9258, allocations: 9.641 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.395e-05/0.9259, allocations: 21.16 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.926, allocations: 63.02 kB / 1.09 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.9262, allocations: 41.05 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.9263, allocations: 31.19 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.9263, allocations: 29.83 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.9264, allocations: 9.969 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.9264, allocations: 6.656 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.9264, allocations: 12.48 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.9265, allocations: 32.67 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.9266, allocations: 81.56 kB / 1.09 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9266, allocations: 0.75 kB / 1.09 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9266, allocations: 0 / 1.09 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9266, allocations: 0.6875 kB / 1.09 GB, free: 4.789 MB / 0.8575 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.0004053/0.927, allocations: 373.9 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.9271, allocations: 13.84 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.9271, allocations: 13.53 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.9273, allocations: 192.2 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.9273, allocations: 7.656 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.9274, allocations: 5.438 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.9275, allocations: 98.12 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.9275, allocations: 192 / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.9276, allocations: 4.938 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.9276, allocations: 10.25 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/0.9277, allocations: 39.28 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.9282, allocations: 435 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.433e-05/0.9282, allocations: 49.17 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.9283, allocations: 25.05 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.9283, allocations: 0 / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.9283, allocations: 32.38 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.9283, allocations: 0 / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001746/0.9285, allocations: 57.55 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.9285, allocations: 77.88 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.9287, allocations: 163.7 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.9287, allocations: 25.7 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.9288, allocations: 103.3 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.287e-06/0.9288, allocations: 5.672 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.9288, allocations: 18.42 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.9289, allocations: 320 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.9289, allocations: 4.531 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/0.9289, allocations: 23.42 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.111e-05/0.929, allocations: 30.98 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.929, allocations: 0 / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.846e-05/0.9291, allocations: 58.98 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.9291, allocations: 4.5 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9291, allocations: 5.094 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9291, allocations: 2.094 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.9292, allocations: 9.375 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.9292, allocations: 1.281 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.9292, allocations: 7.047 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-06/0.9293, allocations: 0.9688 kB / 1.092 GB, free: 2.723 MB / 0.8575 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 6.17e-05/0.9293, allocations: 113.7 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.9294, allocations: 8.297 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.9294, allocations: 16.56 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.9294, allocations: 1.953 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9294, allocations: 4 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9294, allocations: 1.375 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.9297, allocations: 474.5 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9297, allocations: 0 / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.9298, allocations: 7.781 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.9298, allocations: 1.031 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.9298, allocations: 5.047 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.9298, allocations: 1.375 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.9298, allocations: 13.58 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.369e-05/0.9299, allocations: 76.25 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.9299, allocations: 94.12 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.9299, allocations: 2.188 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.93, allocations: 0 / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.93, allocations: 2.266 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.93, allocations: 4.906 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.609e-05/0.9301, allocations: 121.3 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9301, allocations: 0 / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001855/0.9303, allocations: 7.25 kB / 1.093 GB, free: 1.797 MB / 0.8575 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.0001154/0.9304, allocations: 98.5 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.225e-05/0.9305, allocations: 24.75 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.778e-06/0.9305, allocations: 128 / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/0.9305, allocations: 12 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.9307, allocations: 12.12 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.931, allocations: 189.6 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.9312, allocations: 0.6926 MB / 1.094 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.9313, allocations: 11.31 kB / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.9313, allocations: 4.125 kB / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.002884/0.9342, allocations: 0.8573 MB / 1.095 GB, free: 16.72 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches