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.006972/0.006972, allocations: 105.4 kB / 15.74 MB, free: 6.012 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.001144/0.001144, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.48/2.48, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001593, allocations: 63.91 kB / 0.9509 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001922/1.034, allocations: 0.8203 MB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/1.034, allocations: 41.09 kB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/1.034, allocations: 1.312 kB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/1.034, allocations: 10.3 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/1.034, allocations: 5.438 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.807e-05/1.034, allocations: 20.31 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/1.035, allocations: 67.16 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/1.035, allocations: 45.94 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/1.035, allocations: 23.52 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/1.035, allocations: 37.03 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/1.035, allocations: 6.25 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/1.035, allocations: 5.844 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/1.035, allocations: 13.56 kB / 1.089 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/1.035, allocations: 32.48 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/1.035, allocations: 79.67 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.035, allocations: 0 / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/1.035, allocations: 0 / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.866e-06/1.035, allocations: 0 / 1.089 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.000397/1.036, allocations: 380.5 kB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.036, allocations: 9.406 kB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/1.036, allocations: 14.67 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/1.036, allocations: 196.7 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.036, allocations: 7.062 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/1.036, allocations: 5.156 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/1.036, allocations: 91.05 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.036, allocations: 192 / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/1.036, allocations: 9 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/1.036, allocations: 2.219 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.854e-05/1.036, allocations: 39.98 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/1.037, allocations: 438.5 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/1.037, allocations: 45.45 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/1.037, allocations: 28.72 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/1.037, allocations: 1.125 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/1.037, allocations: 32.11 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.037, allocations: 0 / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/1.037, allocations: 57.17 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/1.037, allocations: 82.7 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/1.037, allocations: 158.7 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/1.037, allocations: 26.83 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/1.037, allocations: 103 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-06/1.037, allocations: 6.156 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/1.037, allocations: 18.05 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/1.037, allocations: 320.6 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/1.037, allocations: 7.859 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/1.037, allocations: 23.66 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/1.037, allocations: 27.16 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.037, allocations: 0.5156 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.742e-05/1.037, allocations: 62.09 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.038, allocations: 4.469 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/1.038, allocations: 4.875 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.038, allocations: 5.656 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/1.038, allocations: 6.047 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.038, allocations: 2.266 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/1.038, allocations: 5.469 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/1.038, allocations: 1.625 kB / 1.091 GB, free: 2.719 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.721e-05/1.038, allocations: 114.9 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/1.038, allocations: 7.344 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/1.038, allocations: 15.94 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.038, allocations: 1.156 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.038, allocations: 5.75 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/1.038, allocations: 0 / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/1.038, allocations: 470.7 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.038, allocations: 1.891 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/1.038, allocations: 7.5 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/1.038, allocations: 0 / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/1.038, allocations: 1.859 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.038, allocations: 9.25 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.038, allocations: 0 / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.624e-05/1.038, allocations: 77.53 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/1.038, allocations: 93.64 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/1.038, allocations: 1.734 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.042e-05/1.038, allocations: 0.8125 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/1.038, allocations: 6.297 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/1.038, allocations: 1.531 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.909e-05/1.038, allocations: 120.2 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.41e-07/1.038, allocations: 0 / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001951/1.039, allocations: 11.12 kB / 1.092 GB, free: 1.801 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.0001029/1.039, allocations: 98.53 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.569e-05/1.039, allocations: 20.66 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.039, allocations: 4.125 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/1.039, allocations: 12.03 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/1.039, allocations: 13.98 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/1.039, allocations: 161.1 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/1.04, allocations: 0.6916 MB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.518e-05/1.04, allocations: 15.28 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/1.04, allocations: 11.91 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.04, allocations: 0 / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.002722/1.042, allocations: 465.6 kB / 1.094 GB, free: 16.74 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/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