Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001088/0.001088, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001284/0.001284, allocations: 191.3 kB / 16.14 MB, free: 6.656 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7915, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002578/0.7941, allocations: 0.8857 MB / 1.017 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.7943, allocations: 39.78 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.107e-05/0.7944, allocations: 4 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.479e-05/0.7944, allocations: 3.938 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.433e-05/0.7945, allocations: 7.922 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.73e-05/0.7946, allocations: 16 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.7947, allocations: 59.84 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.7948, allocations: 35.97 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/0.7949, allocations: 27.8 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.874e-05/0.795, allocations: 23.86 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.795, allocations: 4 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.795, allocations: 4 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.795, allocations: 15.92 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.7951, allocations: 31.8 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.7952, allocations: 77.67 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7952, allocations: 0 / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7952, allocations: 0 / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.7953, allocations: 0 / 1.018 GB, free: 1.574 MB / 0.7637 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.0005236/0.7958, allocations: 379.2 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.7958, allocations: 8.031 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.7959, allocations: 12.78 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.7962, allocations: 196.1 kB / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.7962, allocations: 8.375 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.7962, allocations: 12.36 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.7964, allocations: 97.98 kB / 1.018 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.7964, allocations: 192 / 1.018 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.7964, allocations: 11.94 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7964, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.7965, allocations: 31.98 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.7971, allocations: 444.5 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.557e-05/0.7972, allocations: 37.16 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.7972, allocations: 21.84 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.7972, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.7973, allocations: 38.59 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.7973, allocations: 0 / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002031/0.7975, allocations: 61.38 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.7976, allocations: 81.11 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.7977, allocations: 163.5 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.7978, allocations: 25.7 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.7978, allocations: 108.2 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.7978, allocations: 7.906 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.7979, allocations: 13.72 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.798, allocations: 322.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.798, allocations: 8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.7981, allocations: 17.72 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.641e-05/0.7981, allocations: 33.66 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.7981, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.185e-05/0.7982, allocations: 53.59 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.7982, allocations: 8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7983, allocations: 3.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7983, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.7983, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.7984, allocations: 7.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.7984, allocations: 3.906 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.7984, allocations: 8.047 kB / 1.02 GB, free: 15.12 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.838e-05/0.7985, allocations: 113.8 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.7986, allocations: 7.906 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.7986, allocations: 15.81 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.7986, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7986, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7986, allocations: 7.938 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.7991, allocations: 474.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.7991, allocations: 3.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.947e-05/0.7991, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7991, allocations: 7.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.7991, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7992, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7992, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.7993, allocations: 81.84 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.7994, allocations: 96.94 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.7994, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.7995, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.7995, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.7995, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001696/0.7997, allocations: 121.1 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7997, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001947/0.7999, allocations: 8 kB / 1.021 GB, free: 14.09 MB / 0.7794 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.0002114/0.8001, allocations: 107.2 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.8002, allocations: 19.94 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8002, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.8002, allocations: 8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.8005, allocations: 16.73 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.801, allocations: 180.8 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.8015, allocations: 0.6926 MB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.008e-05/0.8015, allocations: 16.41 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.8016, allocations: 15.38 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of SimCode: time 6.32e-07/0.8016, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of Templates: time 0.003314/0.8049, allocations: 432.5 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches