Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 102.1 kB / 16.41 MB, free: 6.5 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.00119/0.00119, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.419/1.419, allocations: 222.9 MB / 241 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.323/2.323, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 67.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8865/0.888, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001905/0.8899, allocations: 0.8285 MB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000103/0.89, allocations: 40.77 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.8901, allocations: 1.031 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.789e-05/0.8901, allocations: 17.88 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.8902, allocations: 5.969 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.838e-05/0.8903, allocations: 20.61 kB / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.8904, allocations: 63.38 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.8905, allocations: 41.12 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.016e-05/0.8906, allocations: 22.8 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.8907, allocations: 29.55 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.8907, allocations: 10.62 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.8907, allocations: 5.75 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.8907, allocations: 16.69 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.8908, allocations: 36.38 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.8909, allocations: 75.44 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.8909, allocations: 0 / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8909, allocations: 1.344 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.8909, allocations: 0 / 1.09 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.0003743/0.8913, allocations: 373.3 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.8913, allocations: 14.3 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.8914, allocations: 13.31 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.8915, allocations: 192.8 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.8916, allocations: 11.91 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.8916, allocations: 4.375 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.8917, allocations: 91.59 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.8918, allocations: 192 / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.8918, allocations: 9.047 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.8918, allocations: 6.828 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.912e-05/0.8919, allocations: 39.73 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.8923, allocations: 433.3 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.575e-05/0.8924, allocations: 46.03 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.8924, allocations: 29.39 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.8925, allocations: 0 / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.8925, allocations: 32.27 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.8925, allocations: 0.9688 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001565/0.8926, allocations: 56.16 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.8927, allocations: 78.67 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.8928, allocations: 163.8 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.8928, allocations: 30.44 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.8929, allocations: 104 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.126e-06/0.8929, allocations: 8.609 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.8929, allocations: 18.33 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.893, allocations: 319.8 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.893, allocations: 8.688 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-05/0.893, allocations: 20.38 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.8931, allocations: 26.19 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8931, allocations: 0.75 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.275e-05/0.8932, allocations: 56.95 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8932, allocations: 8.031 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.8932, allocations: 5.641 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.8932, allocations: 0.9688 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.8933, allocations: 10.72 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8933, allocations: 0.6094 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.8933, allocations: 6.094 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.8933, allocations: 1.438 kB / 1.092 GB, free: 2.703 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 7.164e-05/0.8934, allocations: 118.4 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.8935, allocations: 8.25 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.8935, allocations: 16.34 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.8935, allocations: 0.9062 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8935, allocations: 1.812 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8935, allocations: 5.344 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.8938, allocations: 469.5 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8938, allocations: 1.062 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.8938, allocations: 3.703 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.8938, allocations: 1.797 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.8939, allocations: 0 / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8939, allocations: 5 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8939, allocations: 5.75 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.181e-05/0.8939, allocations: 76.03 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.894, allocations: 94 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.894, allocations: 5.938 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.258e-05/0.894, allocations: 1.656 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.8941, allocations: 4.719 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.8941, allocations: 6.922 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.604e-05/0.8941, allocations: 119.9 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8941, allocations: 0 / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002027/0.8944, allocations: 7.625 kB / 1.093 GB, free: 1.781 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.31e-05/0.8945, allocations: 98.41 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.212e-05/0.8946, allocations: 20.62 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8946, allocations: 0 / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.216e-05/0.8946, allocations: 17.23 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.8947, allocations: 15.44 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.895, allocations: 187.5 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.8952, allocations: 0.6928 MB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.8952, allocations: 11.44 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.8952, allocations: 4.125 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.002346/0.8976, allocations: 0.8689 MB / 1.095 GB, free: 16.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches