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.006403/0.006403, allocations: 99.92 kB / 15.73 MB, free: 6.043 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.001187/0.001187, allocations: 195.9 kB / 16.68 MB, free: 5.961 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.18 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.316/2.316, allocations: 390.2 MB / 0.6648 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.89 kB / 0.9509 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002044/1.042, allocations: 0.8159 MB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001086/1.042, allocations: 45.23 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/1.042, allocations: 1.188 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.868e-05/1.042, allocations: 10.97 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/1.042, allocations: 9.188 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.935e-05/1.042, allocations: 21.05 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/1.042, allocations: 63.09 kB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/1.043, allocations: 37.84 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/1.043, allocations: 30.48 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/1.043, allocations: 30.88 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/1.043, allocations: 5.625 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/1.043, allocations: 5.938 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/1.043, allocations: 16.38 kB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/1.043, allocations: 37.08 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/1.043, allocations: 76.78 kB / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.043, allocations: 8.688 kB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/1.043, allocations: 0 / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.55e-06/1.043, allocations: 0.9688 kB / 1.089 GB, free: 4.773 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.000397/1.043, allocations: 374.5 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.043, allocations: 9.984 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/1.044, allocations: 12.97 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/1.044, allocations: 193.1 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/1.044, allocations: 2.625 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/1.044, allocations: 9.844 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/1.044, allocations: 94.67 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.044, allocations: 0.8438 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/1.044, allocations: 5.062 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/1.044, allocations: 2.156 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.854e-05/1.044, allocations: 39.94 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/1.045, allocations: 437.1 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.703e-05/1.045, allocations: 42.14 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/1.045, allocations: 20.83 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/1.045, allocations: 9.281 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/1.045, allocations: 36 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/1.045, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001712/1.045, allocations: 57.28 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/1.045, allocations: 77.67 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/1.045, allocations: 159.6 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/1.045, allocations: 26.47 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/1.045, allocations: 107.9 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/1.045, allocations: 5.891 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/1.045, allocations: 18.12 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/1.045, allocations: 320.2 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/1.045, allocations: 3.859 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/1.045, allocations: 20.11 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/1.045, allocations: 31.05 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.045, allocations: 1.125 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.101e-05/1.045, allocations: 60.44 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.045, allocations: 6.703 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.045, allocations: 3.938 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.046, allocations: 5.109 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/1.046, allocations: 7.391 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/1.046, allocations: 3.984 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/1.046, allocations: 10.12 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/1.046, allocations: 1.219 kB / 1.091 GB, free: 2.707 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 5.475e-05/1.046, allocations: 118.8 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/1.046, allocations: 8.156 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/1.046, allocations: 16.58 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.046, allocations: 0.9375 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.046, allocations: 1.734 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.046, allocations: 0 / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/1.046, allocations: 475.3 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.046, allocations: 0 / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/1.046, allocations: 5.234 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.046, allocations: 0 / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/1.046, allocations: 1.281 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.046, allocations: 0.5156 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.046, allocations: 5.688 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.954e-05/1.046, allocations: 87.64 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/1.046, allocations: 91.38 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/1.046, allocations: 2.062 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/1.046, allocations: 0 / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/1.046, allocations: 5.844 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/1.046, allocations: 1.422 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.748e-05/1.046, allocations: 119.6 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/1.046, allocations: 5.375 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002154/1.047, allocations: 6.344 kB / 1.092 GB, free: 1.785 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.0001172/1.047, allocations: 98.19 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.838e-05/1.047, allocations: 24.34 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.047, allocations: 0 / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/1.047, allocations: 6.062 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/1.047, allocations: 13.5 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/1.047, allocations: 171.6 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/1.048, allocations: 0.693 MB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.14e-05/1.048, allocations: 7.047 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/1.048, allocations: 10.97 kB / 1.093 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/1.048, allocations: 0 / 1.093 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of Templates: time 0.002989/1.051, allocations: 458.3 kB / 1.094 GB, free: 0.7344 MB / 0.8575 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/jenkins/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