Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001463/0.001463, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.845/2.845, allocations: 437.7 MB / 0.7117 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004339, allocations: 8 kB / 0.8722 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8189, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00133/0.8203, allocations: 0.5277 MB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001339/0.8205, allocations: 39.78 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.8205, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.8206, allocations: 7.922 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.8207, allocations: 3.938 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.974e-05/0.8208, allocations: 15.98 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.8209, allocations: 51.86 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.821, allocations: 36.14 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/0.8211, allocations: 19.88 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.8212, allocations: 15.86 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.8212, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.8212, allocations: 4 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.8213, allocations: 7.938 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.8213, allocations: 45.62 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.849e-05/0.8214, allocations: 55.81 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.8214, allocations: 0 / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.554e-06/0.8214, allocations: 0 / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.8215, allocations: 0 / 1.023 GB, free: 15.24 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.0005135/0.822, allocations: 376.9 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.822, allocations: 8.031 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.8221, allocations: 11.91 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.8223, allocations: 194.9 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.8224, allocations: 8 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.8224, allocations: 4 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.8226, allocations: 99.19 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.8226, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.8226, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.8226, allocations: 4 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.387e-05/0.8227, allocations: 39.92 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.8233, allocations: 432.7 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.018e-05/0.8234, allocations: 41.23 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.8234, allocations: 25.78 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.8235, allocations: 4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.8235, allocations: 30.56 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8235, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001741/0.8237, allocations: 57.48 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.8237, allocations: 81.11 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.8239, allocations: 168.8 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.8239, allocations: 25.7 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.824, allocations: 96.05 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-06/0.824, allocations: 15.83 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.824, allocations: 0 / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8241, allocations: 314.8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.8241, allocations: 8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.8242, allocations: 25.69 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/0.8242, allocations: 12 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8242, allocations: 3.938 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.257e-05/0.8243, allocations: 53.61 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.8243, allocations: 9.391 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.8243, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.8244, allocations: 11.89 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.8244, allocations: 4 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.8244, allocations: 3.938 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.8245, allocations: 8.062 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.8245, allocations: 3.938 kB / 1.025 GB, free: 12.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.229e-05/0.8246, allocations: 117.8 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.8246, allocations: 7.906 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.8246, allocations: 15.86 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.8247, allocations: 0 / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8247, allocations: 3.953 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.8247, allocations: 0 / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.825, allocations: 470.7 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8251, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.8251, allocations: 4 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.8251, allocations: 3.953 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.8251, allocations: 4 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8251, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.8251, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.576e-05/0.8252, allocations: 85.89 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.8253, allocations: 89 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.8253, allocations: 3.953 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.773e-05/0.8253, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.8253, allocations: 4 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.8253, allocations: 8 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.336e-05/0.8254, allocations: 119.2 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8254, allocations: 4.031 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001782/0.8256, allocations: 7.938 kB / 1.026 GB, free: 11.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.8258, allocations: 99.25 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.401e-05/0.8259, allocations: 15.94 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8259, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.136e-05/0.8259, allocations: 7.984 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.8261, allocations: 9.969 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.8265, allocations: 182.5 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.8268, allocations: 0.6965 MB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.8268, allocations: 8.422 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.8268, allocations: 11.44 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8269, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.002608/0.8295, allocations: 416.1 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches