Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 106.1 kB / 15.99 MB, free: 6.352 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.001511/0.001511, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.418/2.418, allocations: 437 MB / 0.7107 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.81 kB / 0.8694 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3073, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002434/0.3098, allocations: 0.9401 MB / 1.018 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.3099, allocations: 51.72 kB / 1.018 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.31, allocations: 4 kB / 1.018 GB, free: 10 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.841e-05/0.3101, allocations: 3.938 kB / 1.018 GB, free: 10 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.368e-05/0.3102, allocations: 7.922 kB / 1.018 GB, free: 9.992 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.997e-05/0.3103, allocations: 20 kB / 1.018 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3104, allocations: 83.69 kB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3106, allocations: 65.02 kB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.3106, allocations: 35.78 kB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.3107, allocations: 35.8 kB / 1.019 GB, free: 9.754 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.3107, allocations: 8 kB / 1.019 GB, free: 9.746 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.3107, allocations: 12 kB / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.3108, allocations: 15.92 kB / 1.019 GB, free: 9.719 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.3108, allocations: 43.73 kB / 1.019 GB, free: 9.676 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.3109, allocations: 72.08 kB / 1.019 GB, free: 9.605 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3109, allocations: 3.938 kB / 1.019 GB, free: 9.602 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3109, allocations: 0 / 1.019 GB, free: 9.602 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.311, allocations: 0 / 1.019 GB, free: 9.602 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004524/0.3114, allocations: 399.3 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3115, allocations: 8.922 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.3115, allocations: 12.84 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.3117, allocations: 208.2 kB / 1.019 GB, free: 8.898 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3118, allocations: 12.55 kB / 1.019 GB, free: 8.887 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.3118, allocations: 4.375 kB / 1.019 GB, free: 8.883 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.312, allocations: 108.8 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.312, allocations: 0 / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.312, allocations: 4 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.312, allocations: 4 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.3121, allocations: 47.91 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.3127, allocations: 468.3 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.3127, allocations: 41.16 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.3128, allocations: 18 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.3128, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3128, allocations: 42.5 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3128, allocations: 0 / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001711/0.313, allocations: 57.44 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3131, allocations: 81.36 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3132, allocations: 182.6 kB / 1.02 GB, free: 7.719 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.3133, allocations: 25.7 kB / 1.02 GB, free: 7.688 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.3133, allocations: 112 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.106e-06/0.3134, allocations: 3.906 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.3134, allocations: 17.72 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3135, allocations: 326.8 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.3135, allocations: 3.938 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.3136, allocations: 29.7 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.3136, allocations: 21.72 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3136, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.689e-05/0.3137, allocations: 61.55 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3137, allocations: 4 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3137, allocations: 0 / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3138, allocations: 0 / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.3138, allocations: 20.05 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.3138, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.3139, allocations: 11.78 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.3139, allocations: 4 kB / 1.021 GB, free: 7.047 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 7.842e-05/0.314, allocations: 113.8 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.314, allocations: 11.81 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.3141, allocations: 16.55 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3141, allocations: 0 / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3141, allocations: 0 / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3141, allocations: 11.94 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.3145, allocations: 470.8 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3145, allocations: 0 / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.3145, allocations: 7.938 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3145, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3145, allocations: 7.938 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3145, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.3145, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.347e-05/0.3146, allocations: 81.95 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.3147, allocations: 92.86 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3147, allocations: 7.938 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.3147, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.3148, allocations: 7.984 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.3148, allocations: 0 / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001017/0.3149, allocations: 137.7 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3149, allocations: 3.938 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001876/0.3151, allocations: 11.94 kB / 1.022 GB, free: 5.977 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.0001046/0.3152, allocations: 102.7 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.385e-05/0.3153, allocations: 15.98 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3153, allocations: 3.938 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.3153, allocations: 16.12 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.3155, allocations: 8.094 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.3158, allocations: 232.7 kB / 1.022 GB, free: 5.562 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.3161, allocations: 0.6963 MB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.3161, allocations: 11.44 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3161, allocations: 0 / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of Templates: time 0.002351/0.3185, allocations: 0.9885 MB / 1.024 GB, free: 3.844 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches