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.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_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.001276/0.001276, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001283/0.001283, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.421/1.421, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.619/2.619, allocations: 437.1 MB / 0.7107 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 70.95 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3053, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002271/0.3076, allocations: 0.8917 MB / 1.018 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001173/0.3077, allocations: 43.78 kB / 1.018 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.3078, allocations: 4 kB / 1.018 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.3079, allocations: 3.938 kB / 1.018 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.3079, allocations: 0 / 1.018 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.386e-05/0.308, allocations: 19.98 kB / 1.018 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3081, allocations: 67.69 kB / 1.018 GB, free: 9.965 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.3083, allocations: 47.97 kB / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.3083, allocations: 19.88 kB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.267e-05/0.3084, allocations: 27.84 kB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.3084, allocations: 8 kB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.3085, allocations: 4 kB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.3085, allocations: 19.92 kB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.3085, allocations: 39.67 kB / 1.019 GB, free: 9.801 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.068e-05/0.3086, allocations: 48.19 kB / 1.019 GB, free: 9.754 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3087, allocations: 4 kB / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3087, allocations: 4 kB / 1.019 GB, free: 9.746 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.3087, allocations: 4 kB / 1.019 GB, free: 9.742 MB / 0.795 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.0005468/0.3092, allocations: 375.2 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3093, allocations: 12.92 kB / 1.019 GB, free: 9.312 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.3093, allocations: 8.844 kB / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.3096, allocations: 188.2 kB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3096, allocations: 4.375 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.3096, allocations: 8.375 kB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3098, allocations: 115.7 kB / 1.019 GB, free: 8.945 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3098, allocations: 192 / 1.019 GB, free: 8.945 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3098, allocations: 3.938 kB / 1.019 GB, free: 8.941 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.3099, allocations: 4 kB / 1.019 GB, free: 8.938 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-05/0.3099, allocations: 39.92 kB / 1.019 GB, free: 8.898 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.3106, allocations: 432.6 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.372e-05/0.3106, allocations: 41.25 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.3107, allocations: 13.78 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.3107, allocations: 3.984 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3107, allocations: 42.56 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3107, allocations: 0 / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001607/0.3109, allocations: 53.48 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.311, allocations: 77.11 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3111, allocations: 160.7 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3112, allocations: 25.7 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.3112, allocations: 104.2 kB / 1.02 GB, free: 7.832 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.3113, allocations: 11.91 kB / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.3113, allocations: 17.72 kB / 1.02 GB, free: 7.797 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3115, allocations: 318.8 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.3115, allocations: 4 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.3115, allocations: 29.62 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.3116, allocations: 29.66 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3116, allocations: 0 / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.51e-05/0.3117, allocations: 61.55 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3117, allocations: 4 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3117, allocations: 7.922 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3117, allocations: 4 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.3118, allocations: 4 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3118, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.3118, allocations: 11.84 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-06/0.3118, allocations: 0 / 1.021 GB, free: 7.305 MB / 0.795 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.738e-05/0.3119, allocations: 118.4 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.312, allocations: 7.906 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.312, allocations: 19.8 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.312, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.312, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.312, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.3125, allocations: 474.8 kB / 1.021 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3125, allocations: 0 / 1.021 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.3125, allocations: 8 kB / 1.021 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3125, allocations: 3.938 kB / 1.021 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.3125, allocations: 0 / 1.021 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3125, allocations: 4 kB / 1.021 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3125, allocations: 0 / 1.021 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.3127, allocations: 85.83 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.3127, allocations: 85.02 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3128, allocations: 3.984 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.114e-05/0.3128, allocations: 4 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.3128, allocations: 4 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.3128, allocations: 0 / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001014/0.3129, allocations: 121.1 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3129, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00018/0.3131, allocations: 8 kB / 1.022 GB, free: 6.266 MB / 0.795 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.0001126/0.3132, allocations: 99.28 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.199e-05/0.3133, allocations: 19.94 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3133, allocations: 0 / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.3133, allocations: 15.92 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.3135, allocations: 7.938 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.3139, allocations: 208.7 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.3143, allocations: 0.6889 MB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.3144, allocations: 15.42 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3144, allocations: 4 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of Templates: time 0.002398/0.3168, allocations: 0.856 MB / 1.024 GB, free: 4.281 MB / 0.795 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=400 -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