Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9317/0.9317, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.81/1.81, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.544e-05, allocations: 10.22 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001708/0.001733, allocations: 0.8013 MB / 0.983 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.001855, allocations: 39.78 kB / 0.983 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.001911, allocations: 0 / 0.983 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.123e-05/0.001952, allocations: 15.88 kB / 0.983 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.002035, allocations: 11.88 kB / 0.983 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.814e-05/0.002083, allocations: 19.97 kB / 0.9831 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.002193, allocations: 55.84 kB / 0.9831 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.002326, allocations: 35.91 kB / 0.9831 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.002401, allocations: 35.91 kB / 0.9832 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.002457, allocations: 19.91 kB / 0.9832 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.002486, allocations: 11.94 kB / 0.9832 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.002494, allocations: 4 kB / 0.9832 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.002515, allocations: 15.92 kB / 0.9832 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.002545, allocations: 19.92 kB / 0.9833 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.002662, allocations: 79.64 kB / 0.9833 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.002664, allocations: 0 / 0.9833 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002665, allocations: 0 / 0.9833 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.002669, allocations: 0 / 0.9833 GB, free: 0.9219 MB / 0.9323 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.0003989/0.003068, allocations: 306 kB / 0.9836 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.003106, allocations: 12.03 kB / 0.9836 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.003143, allocations: 12.84 kB / 0.9836 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.003318, allocations: 129.7 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.003331, allocations: 8.375 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.003345, allocations: 8.375 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.003492, allocations: 99.02 kB / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.003501, allocations: 192 / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.003515, allocations: 8.375 kB / 0.9839 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.003521, allocations: 4.375 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.003601, allocations: 43.86 kB / 0.9839 GB, free: 244 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.004041, allocations: 348.5 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.788e-05/0.004098, allocations: 41.23 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.00413, allocations: 17.78 kB / 0.9843 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.004138, allocations: 8 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.004163, allocations: 30.56 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.004164, allocations: 0 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001656/0.00433, allocations: 49.59 kB / 0.9844 GB, free: 15.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.004373, allocations: 85.09 kB / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.004477, allocations: 132.3 kB / 0.9846 GB, free: 15.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.004488, allocations: 29.64 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.004549, allocations: 112 kB / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.004557, allocations: 3.953 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.00459, allocations: 21.91 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.004682, allocations: 318.8 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.004699, allocations: 4 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.004728, allocations: 25.7 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.00477, allocations: 29.66 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004772, allocations: 0 / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.367e-05/0.004845, allocations: 49.64 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.00486, allocations: 7.984 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.004864, allocations: 3.938 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.004878, allocations: 8.062 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.004931, allocations: 4 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.004937, allocations: 3.938 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.004959, allocations: 7.938 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.004963, allocations: 0 / 0.9852 GB, free: 14.78 MB / 0.948 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.02e-05/0.005033, allocations: 113.8 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.005071, allocations: 7.953 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.005091, allocations: 11.45 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.005093, allocations: 0 / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.005101, allocations: 7.938 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.005104, allocations: 4 kB / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.005418, allocations: 418.4 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.005419, allocations: 0 / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.005431, allocations: 0 / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.005432, allocations: 4 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.005439, allocations: 3.938 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.005441, allocations: 0 / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.005443, allocations: 3.938 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.553e-05/0.005509, allocations: 74.06 kB / 0.9858 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.005528, allocations: 12.05 kB / 0.9858 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.00554, allocations: 3.938 kB / 0.9858 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.482e-05/0.005555, allocations: 12 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.005567, allocations: 0 / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.005569, allocations: 0 / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.005627, allocations: 103.2 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.005627, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001946/0.005822, allocations: 11.95 kB / 0.986 GB, free: 13.93 MB / 0.948 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 8.892e-05/0.005911, allocations: 103.8 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.406e-05/0.005995, allocations: 23.94 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.005996, allocations: 0 / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.006004, allocations: 4 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.006152, allocations: 0 / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.006441, allocations: 200.2 kB / 0.9863 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.751e-05/0.006499, allocations: 75.33 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.006525, allocations: 8.75 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.006525, allocations: 4 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of Templates: time 0.001816/0.008341, allocations: 0.8009 MB / 0.9872 GB, free: 12.65 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.798837701790035]