Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00787/0.007877, allocations: 101.2 kB / 15.88 MB, free: 5.863 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.002208/0.002208, allocations: 191 kB / 16.79 MB, free: 5.805 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.429/1.429, allocations: 222.9 MB / 240.5 MB, free: 4.535 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.798/2.798, allocations: 437 MB / 0.7106 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.89 kB / 0.8692 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.6211, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0024/0.6236, allocations: 0.886 MB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001243/0.6237, allocations: 35.8 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.6238, allocations: 3.938 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.6238, allocations: 7.922 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.67e-05/0.624, allocations: 15.92 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.663e-05/0.624, allocations: 12 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.6241, allocations: 55.84 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.6243, allocations: 39.97 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.421e-05/0.6243, allocations: 31.8 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.6244, allocations: 19.86 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.6244, allocations: 7.938 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.6244, allocations: 4 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.6245, allocations: 15.98 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.6245, allocations: 35.73 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.291e-05/0.6246, allocations: 53.86 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6246, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6246, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.6246, allocations: 0 / 1.018 GB, free: 1.57 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.0004446/0.6251, allocations: 383.2 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.6251, allocations: 8.031 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.6252, allocations: 8.844 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.6255, allocations: 196.1 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.6255, allocations: 8.375 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.6255, allocations: 8.375 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.6257, allocations: 91.8 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.6257, allocations: 192 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.6257, allocations: 11.94 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.6257, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.864e-05/0.6258, allocations: 35.98 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.6264, allocations: 440.6 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/0.6265, allocations: 41.14 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.6265, allocations: 17.84 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.535e-06/0.6265, allocations: 4 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.6266, allocations: 38.59 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.6266, allocations: 0 / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001626/0.6267, allocations: 61.47 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.6268, allocations: 77.11 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.627, allocations: 168.5 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.627, allocations: 29.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.627, allocations: 107.9 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/0.6271, allocations: 3.906 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.6271, allocations: 21.66 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.6273, allocations: 322.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.6273, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.6274, allocations: 21.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.6274, allocations: 29.66 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6274, allocations: 0 / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.721e-05/0.6275, allocations: 57.59 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6275, allocations: 9.25 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6275, allocations: 3.938 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.6276, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.6276, allocations: 4 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.6276, allocations: 7.938 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.6277, allocations: 4.062 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.6277, allocations: 7.984 kB / 1.021 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 8.714e-05/0.6278, allocations: 109.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.6278, allocations: 11.81 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.6279, allocations: 15.81 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.6279, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6279, allocations: 4 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.6279, allocations: 4 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.6283, allocations: 470.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6283, allocations: 3.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.6283, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6283, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.6283, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.6283, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6284, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.885e-05/0.6284, allocations: 85.84 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.6285, allocations: 92.94 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.6285, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.6286, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.6286, allocations: 7.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.6286, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.986e-05/0.6287, allocations: 125.5 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6287, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001922/0.6289, allocations: 8 kB / 1.021 GB, free: 14.08 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.0001201/0.629, allocations: 103.2 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.667e-05/0.6291, allocations: 19.94 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6291, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.09e-05/0.6291, allocations: 4 kB / 1.022 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.0001661/0.6293, allocations: 12.19 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.6296, allocations: 210.2 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.63, allocations: 0.7004 MB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.63, allocations: 11.44 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.63, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of Templates: time 0.002449/0.6325, allocations: 0.8599 MB / 1.023 GB, free: 12.09 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches