Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001547/0.001547, allocations: 109.9 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.001799/0.001799, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.499/1.499, allocations: 222.9 MB / 241 MB, free: 15.17 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.311/2.311, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 71.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8518/0.8534, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002036/0.8555, allocations: 0.8325 MB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/0.8556, allocations: 40.83 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.8556, allocations: 2.062 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.455e-05/0.8557, allocations: 10.03 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/0.8558, allocations: 12.48 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.89e-05/0.8558, allocations: 17.06 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.856, allocations: 63.06 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.8561, allocations: 41.5 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.323e-05/0.8562, allocations: 27.48 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.8563, allocations: 29.39 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.8563, allocations: 6.125 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.8563, allocations: 6.281 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.8563, allocations: 12.34 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.8564, allocations: 39.98 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.8565, allocations: 80.12 kB / 1.09 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8565, allocations: 0 / 1.09 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8565, allocations: 0 / 1.09 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.8565, allocations: 0 / 1.09 GB, free: 4.742 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.0003881/0.8569, allocations: 374.4 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.857, allocations: 9.406 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.857, allocations: 14.33 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.8572, allocations: 192.2 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.8572, allocations: 8.406 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.8572, allocations: 8.969 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.8574, allocations: 92.41 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8574, allocations: 192 / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.8574, allocations: 5.844 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.8574, allocations: 2.125 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.8575, allocations: 39.97 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.858, allocations: 437.2 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.57e-05/0.8581, allocations: 46.95 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.8581, allocations: 20.53 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.8581, allocations: 5.219 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.8581, allocations: 36.44 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8581, allocations: 0 / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001682/0.8583, allocations: 56.81 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.8584, allocations: 77.77 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.8585, allocations: 159.9 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.8585, allocations: 25.7 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.8586, allocations: 107.5 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/0.8586, allocations: 13.78 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.8586, allocations: 14.97 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.8587, allocations: 320.2 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.8587, allocations: 7.25 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-05/0.8587, allocations: 16.14 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.8588, allocations: 27.09 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.8588, allocations: 4.875 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.053e-05/0.8589, allocations: 56.73 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8589, allocations: 6.828 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8589, allocations: 3.938 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.8589, allocations: 5.328 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.859, allocations: 6.797 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.859, allocations: 1.094 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/0.859, allocations: 5.281 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.8591, allocations: 9.984 kB / 1.092 GB, free: 2.676 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.561e-05/0.8591, allocations: 118 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.8592, allocations: 15.72 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.8592, allocations: 12.97 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8592, allocations: 1.188 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8592, allocations: 0 / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.8592, allocations: 1.547 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.8595, allocations: 474.3 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.8595, allocations: 2.047 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.8595, allocations: 2.031 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.8596, allocations: 1.797 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.8596, allocations: 1.094 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.8596, allocations: 5.219 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8596, allocations: 3.938 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.444e-05/0.8596, allocations: 81.36 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.8597, allocations: 94.34 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.8597, allocations: 1.781 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.8597, allocations: 1.125 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.8598, allocations: 5.594 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.8598, allocations: 1.062 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.583e-05/0.8598, allocations: 121 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8598, allocations: 0 / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001968/0.86, allocations: 7.781 kB / 1.093 GB, free: 1.758 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 9.365e-05/0.8601, allocations: 105.5 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.739e-05/0.8602, allocations: 19.66 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8602, allocations: 0 / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.8603, allocations: 8.453 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.8604, allocations: 11.67 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.8607, allocations: 192.9 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.8609, allocations: 0.6924 MB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.8609, allocations: 10.81 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.8609, allocations: 1 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.002696/0.8636, allocations: 0.8681 MB / 1.095 GB, free: 16.67 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches