Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.01227/0.01227, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.872/2.872, allocations: 443.3 MB / 0.7175 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 13.34 kB / 0.8796 GB, free: 41.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4235, allocations: 155.2 MB / 1.031 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00146/0.4251, allocations: 0.5498 MB / 1.032 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001934/0.4253, allocations: 43.78 kB / 1.032 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.4254, allocations: 0 / 1.032 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.4254, allocations: 3.938 kB / 1.032 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.4255, allocations: 11.92 kB / 1.032 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.017e-05/0.4256, allocations: 8 kB / 1.032 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.4257, allocations: 63.78 kB / 1.032 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.426, allocations: 43.95 kB / 1.032 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.4261, allocations: 19.86 kB / 1.032 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.253e-05/0.4262, allocations: 23.8 kB / 1.032 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.4262, allocations: 4 kB / 1.032 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.4262, allocations: 0 / 1.032 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.4262, allocations: 7.938 kB / 1.032 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.4263, allocations: 49.45 kB / 1.032 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.4265, allocations: 67.97 kB / 1.032 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.4265, allocations: 7.984 kB / 1.032 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.547e-06/0.4265, allocations: 0 / 1.032 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.4265, allocations: 4 kB / 1.032 GB, free: 3.441 MB / 0.7794 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.0006288/0.4272, allocations: 363.2 kB / 1.032 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.4272, allocations: 8.031 kB / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.848e-05/0.4273, allocations: 12.84 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.4276, allocations: 192.1 kB / 1.033 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.4277, allocations: 8.359 kB / 1.033 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.4277, allocations: 12.38 kB / 1.033 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.4279, allocations: 95.94 kB / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4279, allocations: 192 / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.4279, allocations: 3.938 kB / 1.033 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.428, allocations: 3.938 kB / 1.033 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.4281, allocations: 39.92 kB / 1.033 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.4287, allocations: 436.5 kB / 1.033 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.513e-05/0.4288, allocations: 45.33 kB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.4289, allocations: 13.78 kB / 1.033 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.4289, allocations: 4 kB / 1.033 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.4289, allocations: 38.56 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.4289, allocations: 0 / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002031/0.4291, allocations: 53.48 kB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.4292, allocations: 81.09 kB / 1.033 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.4294, allocations: 161.1 kB / 1.033 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.4294, allocations: 25.95 kB / 1.034 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.4295, allocations: 108 kB / 1.034 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.4295, allocations: 7.906 kB / 1.034 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.4295, allocations: 17.64 kB / 1.034 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4296, allocations: 314.8 kB / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.4297, allocations: 8 kB / 1.034 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.4297, allocations: 25.7 kB / 1.034 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.206e-05/0.4297, allocations: 29.66 kB / 1.034 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4297, allocations: 0 / 1.034 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.455e-05/0.4298, allocations: 57.53 kB / 1.034 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4299, allocations: 8 kB / 1.034 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.4299, allocations: 3.938 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4299, allocations: 0 / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.574e-05/0.43, allocations: 8 kB / 1.034 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.43, allocations: 0 / 1.034 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.489e-05/0.43, allocations: 11.84 kB / 1.034 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.4301, allocations: 4.062 kB / 1.034 GB, free: 1.023 MB / 0.7794 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 9.222e-05/0.4301, allocations: 119.3 kB / 1.034 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.4302, allocations: 7.906 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.4302, allocations: 15.8 kB / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4303, allocations: 3.938 kB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4303, allocations: 0 / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4303, allocations: 4 kB / 1.034 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.4307, allocations: 467.3 kB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4307, allocations: 11.88 kB / 1.035 GB, free: 344 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.4307, allocations: 0 / 1.035 GB, free: 344 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.4307, allocations: 4 kB / 1.035 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.4307, allocations: 0 / 1.035 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4307, allocations: 0 / 1.035 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4308, allocations: 0 / 1.035 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.675e-05/0.4309, allocations: 85.89 kB / 1.035 GB, free: 232 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.4309, allocations: 89 kB / 1.035 GB, free: 124 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.4309, allocations: 4 kB / 1.035 GB, free: 120 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.143e-05/0.431, allocations: 4 kB / 1.035 GB, free: 116 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.431, allocations: 0 / 1.035 GB, free: 116 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.431, allocations: 3.938 kB / 1.035 GB, free: 112 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001143/0.4311, allocations: 119.2 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4311, allocations: 0 / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001915/0.4313, allocations: 19.94 kB / 1.035 GB, free: 15.97 MB / 0.795 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.0001266/0.4315, allocations: 95.25 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.4316, allocations: 19.98 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4316, allocations: 0 / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.4316, allocations: 7.938 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.4318, allocations: 14.47 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.4321, allocations: 176.9 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.4325, allocations: 0.6926 MB / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.4326, allocations: 12.52 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.4326, allocations: 11.44 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.4326, allocations: 3.938 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of Templates: time 0.002729/0.4353, allocations: 424.6 kB / 1.036 GB, free: 14.45 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches