Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.0009329/0.0009328, allocations: 97.95 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.006504/0.006504, allocations: 169 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.66/1.66, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.909/2.909, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8047/0.8051, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001257/0.8064, allocations: 0.5469 MB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001175/0.8065, allocations: 39.78 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.8066, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.8066, allocations: 15.92 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.8067, allocations: 3.938 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.227e-05/0.8068, allocations: 15.98 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.8069, allocations: 51.86 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.8071, allocations: 39.95 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.8071, allocations: 15.88 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.8072, allocations: 19.84 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.8072, allocations: 8 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.803e-05/0.8072, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.8073, allocations: 15.88 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.8073, allocations: 45.52 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.8074, allocations: 69.66 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.8075, allocations: 4 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8075, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.8075, allocations: 0 / 1.024 GB, free: 14.95 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.000483/0.808, allocations: 367.2 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.808, allocations: 12.03 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.8081, allocations: 12.84 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.8083, allocations: 192.2 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.8083, allocations: 8.312 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.8084, allocations: 8.375 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.8085, allocations: 93.98 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.8086, allocations: 192 / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.8086, allocations: 3.938 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.8086, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.8087, allocations: 43.86 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.8093, allocations: 440.6 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.8094, allocations: 41.25 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.8094, allocations: 17.78 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.8094, allocations: 3.938 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.8095, allocations: 38.56 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8095, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000186/0.8097, allocations: 57.47 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.8097, allocations: 81.36 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.8099, allocations: 164.7 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.8099, allocations: 25.7 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.81, allocations: 104 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.81, allocations: 7.906 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.8101, allocations: 13.72 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8102, allocations: 318.8 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.8102, allocations: 4 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.8103, allocations: 29.66 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.112e-05/0.8103, allocations: 21.72 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.8103, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.897e-05/0.8104, allocations: 61.53 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.8105, allocations: 8 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.8105, allocations: 3.938 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.8105, allocations: 4.062 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.8106, allocations: 4 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.8106, allocations: 4 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.8106, allocations: 7.906 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.8106, allocations: 0 / 1.026 GB, free: 12.52 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.3e-05/0.8107, allocations: 118.6 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.8108, allocations: 7.906 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.8108, allocations: 11.81 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8108, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8108, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8108, allocations: 4 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.8113, allocations: 474.8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8113, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.8113, allocations: 3.984 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.8113, allocations: 4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.8113, allocations: 3.938 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.8113, allocations: 4.062 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8113, allocations: 3.938 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.883e-05/0.8114, allocations: 81.78 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.8115, allocations: 92.94 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.8115, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.939e-05/0.8116, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.8116, allocations: 4.031 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.8116, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001495/0.8117, allocations: 120.7 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8117, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001836/0.8119, allocations: 12 kB / 1.027 GB, free: 11.48 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.0001252/0.8121, allocations: 99.19 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.564e-05/0.8122, allocations: 19.98 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8122, allocations: 128 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/0.8122, allocations: 11.94 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.8124, allocations: 11.94 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.8127, allocations: 184.6 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.8131, allocations: 0.6926 MB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.8131, allocations: 8.422 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.8131, allocations: 11.44 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.8131, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of Templates: time 0.002908/0.816, allocations: 424.6 kB / 1.028 GB, free: 9.953 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches