Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005261/0.005261, allocations: 101.7 kB / 15.73 MB, free: 5.953 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.001191/0.001191, allocations: 187 kB / 16.67 MB, free: 5.883 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 68.64 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2754, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001982/0.2774, allocations: 0.8863 MB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/0.2776, allocations: 51.72 kB / 1.088 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.2777, allocations: 4 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.2777, allocations: 11.86 kB / 1.088 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.2778, allocations: 7.875 kB / 1.088 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.135e-05/0.2779, allocations: 23.98 kB / 1.088 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.278, allocations: 79.77 kB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.2781, allocations: 56.83 kB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.2782, allocations: 39.73 kB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.2782, allocations: 35.78 kB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.2783, allocations: 12 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2783, allocations: 8 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.2783, allocations: 19.92 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.2784, allocations: 47.73 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.2785, allocations: 98.36 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2785, allocations: 4 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2785, allocations: 0 / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2785, allocations: 0 / 1.089 GB, free: 0.6172 MB / 0.8419 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.0004456/0.279, allocations: 392.2 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.279, allocations: 8.031 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.2791, allocations: 46.73 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.2791, allocations: 12.75 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.2793, allocations: 204.3 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2794, allocations: 12.5 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.2794, allocations: 8.312 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2796, allocations: 113.9 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2796, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2796, allocations: 4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.2796, allocations: 8 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.2797, allocations: 39.98 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.2802, allocations: 472.2 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/0.2803, allocations: 37.22 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.2803, allocations: 21.72 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.2803, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2804, allocations: 38.56 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.2804, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001569/0.2805, allocations: 53.53 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.2806, allocations: 81.36 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.2807, allocations: 187.1 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.2808, allocations: 25.7 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.2808, allocations: 112.2 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.2808, allocations: 7.844 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.2809, allocations: 21.66 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.281, allocations: 322.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.281, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.281, allocations: 25.72 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.2811, allocations: 25.66 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2811, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.441e-05/0.2812, allocations: 65.53 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2812, allocations: 8 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2812, allocations: 3.984 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2812, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.2813, allocations: 16.06 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2813, allocations: 3.984 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.2813, allocations: 3.938 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.2814, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 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.83e-05/0.2814, allocations: 113.8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.2815, allocations: 11.81 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.2815, allocations: 12.56 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2815, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2815, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2815, allocations: 15.92 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.2819, allocations: 470.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2819, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.282, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.282, allocations: 7.922 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.282, allocations: 4 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.282, allocations: 3.938 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.282, allocations: 4.062 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.2821, allocations: 81.75 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.2822, allocations: 89 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.2822, allocations: 7.938 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.2822, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.2823, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.2823, allocations: 4.031 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001025/0.2824, allocations: 136.3 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2824, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001914/0.2826, allocations: 8 kB / 1.092 GB, free: 12.94 MB / 0.8575 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.0003499/0.2829, allocations: 0.6248 MB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.628e-05/0.283, allocations: 16 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.283, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.283, allocations: 7.938 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.2832, allocations: 9.719 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.2844, allocations: 1.41 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2847, allocations: 0.6963 MB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.2847, allocations: 12.55 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.2848, allocations: 27.42 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.2848, allocations: 4 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.3009, allocations: 1.737 MB / 1.096 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.075/7.376, allocations: 7.922 kB / 1.096 GB, free: 8.34 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches