Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001655/0.001655, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 68.31 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2425, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002053/0.2445, allocations: 0.8895 MB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001272/0.2447, allocations: 51.77 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.2448, allocations: 4 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.2448, allocations: 11.81 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.052e-05/0.2449, allocations: 11.88 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.129e-05/0.245, allocations: 23.97 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.2451, allocations: 79.78 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.2452, allocations: 61 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.2453, allocations: 27.88 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.2453, allocations: 31.78 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.2454, allocations: 8 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.2454, allocations: 8 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.2454, allocations: 27.92 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.2455, allocations: 43.67 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2456, allocations: 99.83 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2456, allocations: 0 / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2456, allocations: 0 / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.2456, allocations: 0 / 1.065 GB, free: 13.16 MB / 0.8262 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.0003885/0.246, allocations: 391.3 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.246, allocations: 8.031 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.2461, allocations: 46.73 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.2461, allocations: 20.75 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.2463, allocations: 192.4 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2463, allocations: 12.5 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.2463, allocations: 8.375 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.2465, allocations: 104.6 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.2465, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2465, allocations: 4 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.2465, allocations: 4 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.057e-05/0.2466, allocations: 43.92 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.2471, allocations: 480.2 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/0.2472, allocations: 45.14 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.2472, allocations: 21.78 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.2472, allocations: 7.938 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.2472, allocations: 30.56 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.2472, allocations: 0 / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001507/0.2474, allocations: 53.55 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2474, allocations: 81.34 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2476, allocations: 183.2 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.2476, allocations: 33.7 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.2477, allocations: 104 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.2477, allocations: 11.83 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.2477, allocations: 21.62 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.2478, allocations: 322.8 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.2478, allocations: 4 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.15e-05/0.2479, allocations: 23.39 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.807e-05/0.2479, allocations: 29.66 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2479, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.066e-05/0.248, allocations: 61.53 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.248, allocations: 4 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.248, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.248, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.2481, allocations: 12.06 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2481, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.2481, allocations: 11.84 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.2481, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 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 6.786e-05/0.2482, allocations: 117.8 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.2483, allocations: 11.91 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.2483, allocations: 8.562 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2483, allocations: 0 / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2483, allocations: 4.219 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2483, allocations: 7.938 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.2487, allocations: 478.8 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2487, allocations: 4 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.2487, allocations: 0 / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2487, allocations: 7.938 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.2487, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2487, allocations: 3.984 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2487, allocations: 4.062 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.218e-05/0.2488, allocations: 77.75 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.2489, allocations: 93 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.2489, allocations: 7.938 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.2489, allocations: 96 / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.2489, allocations: 3.984 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.2489, allocations: 12.03 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.065e-05/0.249, allocations: 136.2 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.249, allocations: 0 / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001894/0.2492, allocations: 11.94 kB / 1.068 GB, free: 9.484 MB / 0.8262 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.0003105/0.2496, allocations: 0.623 MB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.043e-05/0.2496, allocations: 16 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2496, allocations: 0 / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.2497, allocations: 7.938 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.2498, allocations: 13.56 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.2509, allocations: 1.397 MB / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.2511, allocations: 0.7002 MB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.2511, allocations: 8.547 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.2512, allocations: 27.42 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2512, allocations: 0 / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.267, allocations: 1.708 MB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.267, allocations: 3.984 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches