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.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_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.00149/0.00149, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001649/0.001649, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.468/2.468, allocations: 437.1 MB / 0.7112 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 69.66 kB / 0.8707 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3097, allocations: 151.6 MB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002068/0.3118, allocations: 0.8853 MB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001244/0.312, allocations: 51.72 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.312, allocations: 4 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.133e-05/0.3121, allocations: 11.86 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.3122, allocations: 11.81 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.27e-05/0.3122, allocations: 23.97 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.3124, allocations: 75.75 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3125, allocations: 65.06 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.3126, allocations: 39.73 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.3126, allocations: 35.78 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3127, allocations: 8 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.3127, allocations: 8 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.3128, allocations: 19.94 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.3128, allocations: 39.73 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.3129, allocations: 111.5 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.313, allocations: 0 / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.533e-06/0.313, allocations: 0 / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.313, allocations: 0 / 1.02 GB, free: 8.406 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.0004304/0.3134, allocations: 387.3 kB / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3134, allocations: 8.625 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.3135, allocations: 16.84 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.3137, allocations: 204.2 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3137, allocations: 8.562 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.3137, allocations: 8.375 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3139, allocations: 108.8 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3139, allocations: 0 / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3139, allocations: 8 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.314, allocations: 0 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.314, allocations: 47.86 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.3146, allocations: 468.3 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.751e-05/0.3146, allocations: 41.09 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.3147, allocations: 25.83 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.3147, allocations: 0 / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.3147, allocations: 38.56 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3147, allocations: 0 / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001703/0.3149, allocations: 57.45 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.3149, allocations: 77.11 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3151, allocations: 179.8 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.3151, allocations: 25.7 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.3152, allocations: 112.3 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/0.3152, allocations: 7.844 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.3153, allocations: 21.7 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3154, allocations: 323 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.3154, allocations: 7.984 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.3154, allocations: 25.64 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.32e-05/0.3155, allocations: 29.66 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3155, allocations: 0 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.247e-05/0.3156, allocations: 65.53 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3156, allocations: 4 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3156, allocations: 0 / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3156, allocations: 4 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.627e-05/0.3157, allocations: 4 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3157, allocations: 0 / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.3157, allocations: 15.78 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3157, allocations: 4.062 kB / 1.022 GB, free: 5.855 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.836e-05/0.3158, allocations: 113.8 kB / 1.022 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.3159, allocations: 19.8 kB / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.3159, allocations: 8.562 kB / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3159, allocations: 4 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3159, allocations: 0 / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3159, allocations: 3.938 kB / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.3163, allocations: 478.8 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3163, allocations: 0 / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/0.3163, allocations: 0 / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3163, allocations: 4 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3163, allocations: 7.938 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3163, allocations: 0 / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3163, allocations: 3.984 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.664e-05/0.3164, allocations: 85.89 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.3165, allocations: 92.91 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3165, allocations: 7.938 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.3165, allocations: 0 / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.3166, allocations: 0 / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.3166, allocations: 4 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001002/0.3167, allocations: 140.8 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3167, allocations: 0 / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001872/0.3169, allocations: 15.97 kB / 1.023 GB, free: 4.777 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.0001338/0.317, allocations: 95.25 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.957e-05/0.3171, allocations: 19.94 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3171, allocations: 0 / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.3171, allocations: 11.94 kB / 1.023 GB, free: 4.645 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.3173, allocations: 11.94 kB / 1.023 GB, free: 4.633 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.3176, allocations: 180.6 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.3179, allocations: 0.7002 MB / 1.024 GB, free: 3.703 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.3179, allocations: 8.547 kB / 1.024 GB, free: 3.695 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.3179, allocations: 11.44 kB / 1.024 GB, free: 3.684 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3179, allocations: 4 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of Templates: time 0.002617/0.3206, allocations: 0.5005 MB / 1.025 GB, free: 3.18 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 -s cvode -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