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.001597/0.001597, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001614/0.001614, allocations: 200.7 kB / 16.91 MB, free: 6.195 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.415/1.415, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.517/2.517, allocations: 437.1 MB / 0.7107 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.95 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2904, 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.002199/0.2926, allocations: 0.9323 MB / 1.018 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.2927, allocations: 55.72 kB / 1.018 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.2928, allocations: 0 / 1.018 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.2929, allocations: 3.938 kB / 1.018 GB, free: 10 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.29e-05/0.293, allocations: 11.92 kB / 1.018 GB, free: 9.992 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.869e-05/0.293, allocations: 20 kB / 1.018 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.2932, allocations: 83.67 kB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.2934, allocations: 61.08 kB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/0.2934, allocations: 39.8 kB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.2935, allocations: 35.78 kB / 1.019 GB, free: 9.754 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.2935, allocations: 8 kB / 1.019 GB, free: 9.746 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.2935, allocations: 8 kB / 1.019 GB, free: 9.738 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.2936, allocations: 15.94 kB / 1.019 GB, free: 9.723 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.2936, allocations: 43.67 kB / 1.019 GB, free: 9.68 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.2937, allocations: 72.08 kB / 1.019 GB, free: 9.609 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2937, allocations: 4 kB / 1.019 GB, free: 9.605 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.286e-06/0.2938, allocations: 0 / 1.019 GB, free: 9.605 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.2938, allocations: 3.938 kB / 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.0005066/0.2943, allocations: 399.3 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2943, allocations: 8.922 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.2944, allocations: 12.84 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.2946, allocations: 200.3 kB / 1.019 GB, free: 8.906 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2946, allocations: 4.562 kB / 1.019 GB, free: 8.902 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.2947, allocations: 8.375 kB / 1.019 GB, free: 8.895 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.2949, allocations: 114.2 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2949, allocations: 0 / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2949, allocations: 4 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2949, allocations: 4 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-05/0.295, allocations: 47.97 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.2956, allocations: 472.3 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.389e-05/0.2957, allocations: 37.16 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.2958, allocations: 25.78 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.2958, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2958, allocations: 34.78 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.635e-06/0.2958, allocations: 0 / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001936/0.296, allocations: 73.38 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.2961, allocations: 77.11 kB / 1.02 GB, free: 7.902 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.2963, allocations: 183.2 kB / 1.02 GB, free: 7.715 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.2963, allocations: 25.7 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.2964, allocations: 104 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.2964, allocations: 7.906 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.2965, allocations: 13.72 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2967, allocations: 335 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.2967, allocations: 8 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.2967, allocations: 21.7 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.214e-05/0.2968, allocations: 25.66 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2968, allocations: 0 / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.438e-05/0.2969, allocations: 57.61 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2969, allocations: 8.062 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2969, allocations: 3.938 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.2969, allocations: 7.984 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.297, allocations: 4 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.297, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.2971, allocations: 15.78 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2971, allocations: 0 / 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 9.66e-05/0.2972, allocations: 113.8 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.2972, allocations: 11.81 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.2973, allocations: 20.55 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2973, allocations: 4 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2973, allocations: 0 / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2973, allocations: 3.938 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.2977, allocations: 470.8 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2977, allocations: 4 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.2978, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.2978, allocations: 8.062 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2978, allocations: 3.938 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2978, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2978, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.2979, allocations: 85.83 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.298, allocations: 88.92 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.298, allocations: 3.938 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.092e-05/0.298, allocations: 7.969 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.2981, allocations: 3.984 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.2981, allocations: 4 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001246/0.2982, allocations: 132.3 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2982, allocations: 0 / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001871/0.2984, allocations: 15.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.0001189/0.2985, allocations: 95.25 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.24e-05/0.2986, allocations: 27.92 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2986, allocations: 0 / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.2986, allocations: 4 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.2988, allocations: 10.66 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.2992, allocations: 236.8 kB / 1.022 GB, free: 5.566 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.2995, allocations: 0.7001 MB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.2996, allocations: 15.44 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.2996, allocations: 0 / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of Templates: time 0.002566/0.3021, allocations: 0.9886 MB / 1.024 GB, free: 3.84 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=400 -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