Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001206/0.001206, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.39/1.39, 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.2-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.23 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3057, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002316/0.3081, allocations: 0.8326 MB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001187/0.3082, allocations: 39.78 kB / 0.952 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.3083, allocations: 4 kB / 0.952 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.3084, allocations: 11.86 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3085, allocations: 7.875 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.127e-05/0.3085, allocations: 19.98 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.3087, allocations: 67.83 kB / 0.9521 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.3089, allocations: 31.98 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.309, allocations: 27.86 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.309, allocations: 23.86 kB / 0.9522 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.3091, allocations: 11.94 kB / 0.9522 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.3091, allocations: 8 kB / 0.9522 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.3091, allocations: 23.86 kB / 0.9522 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.3092, allocations: 35.73 kB / 0.9522 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.3093, allocations: 71.7 kB / 0.9523 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3093, allocations: 0 / 0.9523 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3093, allocations: 0 / 0.9523 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3094, allocations: 0 / 0.9523 GB, free: 6.863 MB / 0.7325 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.000562/0.3099, allocations: 383.2 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.31, allocations: 8.031 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.31, allocations: 8.844 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3103, allocations: 204.1 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3103, allocations: 4.375 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.3103, allocations: 8.375 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3105, allocations: 89.73 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3105, allocations: 192 / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.3106, allocations: 11.94 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3106, allocations: 3.938 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.1e-05/0.3107, allocations: 35.98 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.3112, allocations: 432.6 kB / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.77e-05/0.3113, allocations: 41.28 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.3113, allocations: 17.84 kB / 0.9535 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.3113, allocations: 4 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3114, allocations: 34.56 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.3114, allocations: 3.938 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001934/0.3116, allocations: 53.53 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.3117, allocations: 85.05 kB / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3118, allocations: 168.2 kB / 0.9538 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3118, allocations: 29.7 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.3119, allocations: 99.98 kB / 0.954 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.3119, allocations: 7.891 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.312, allocations: 21.66 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3121, allocations: 318.8 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.3121, allocations: 4 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.3122, allocations: 21.72 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.935e-05/0.3122, allocations: 25.72 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3122, allocations: 0 / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.39e-05/0.3123, allocations: 65.62 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3123, allocations: 8 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3123, allocations: 3.938 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3124, allocations: 7.922 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.3124, allocations: 4 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3124, allocations: 8.062 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.3125, allocations: 7.844 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.3125, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 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.55e-05/0.3126, allocations: 125.3 kB / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.3126, allocations: 7.906 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.3127, allocations: 15.81 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3127, allocations: 0 / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3127, allocations: 0 / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3127, allocations: 4 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.3131, allocations: 470.8 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3132, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.3132, allocations: 3.984 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3132, allocations: 4 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.3132, allocations: 0 / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3132, allocations: 0 / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3132, allocations: 0 / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.3134, allocations: 81.91 kB / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.3135, allocations: 92.94 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.3135, allocations: 0 / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.3135, allocations: 4 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.3135, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.3135, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000197/0.3137, allocations: 130.5 kB / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3137, allocations: 0 / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001857/0.3139, allocations: 8 kB / 0.9553 GB, free: 3.383 MB / 0.7325 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.0001034/0.314, allocations: 99.19 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.3141, allocations: 23.92 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3141, allocations: 0 / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.3142, allocations: 4 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3143, allocations: 12.19 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.3147, allocations: 172.9 kB / 0.9556 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.315, allocations: 0.6922 MB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.315, allocations: 8.422 kB / 0.9563 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.315, allocations: 11.44 kB / 0.9563 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.315, allocations: 0 / 0.9563 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of Templates: time 0.002668/0.3177, allocations: 456.4 kB / 0.9568 GB, free: 1.852 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches