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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009093/0.0009093, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00523/0.00523, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.387/2.387, allocations: 443.4 MB / 0.7176 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.000319, allocations: 14.58 kB / 0.8797 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2404, allocations: 155.2 MB / 1.031 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.0009039/0.2414, allocations: 0.5926 MB / 1.032 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001069/0.2415, allocations: 59.7 kB / 1.032 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.2415, allocations: 0 / 1.032 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.2416, allocations: 11.92 kB / 1.032 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/0.2416, allocations: 3.938 kB / 1.032 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.287e-05/0.2417, allocations: 19.98 kB / 1.032 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.257e-05/0.2418, allocations: 79.69 kB / 1.032 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.2419, allocations: 49.08 kB / 1.032 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.131e-05/0.242, allocations: 31.73 kB / 1.032 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.242, allocations: 23.8 kB / 1.032 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2421, allocations: 4 kB / 1.032 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-06/0.2421, allocations: 0 / 1.032 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.2421, allocations: 7.938 kB / 1.032 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.2422, allocations: 61.44 kB / 1.032 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.854e-05/0.2423, allocations: 87.86 kB / 1.032 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2423, allocations: 11.94 kB / 1.032 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2423, allocations: 0 / 1.032 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.2423, allocations: 0 / 1.032 GB, free: 3.164 MB / 0.7794 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.0003353/0.2426, allocations: 371.5 kB / 1.033 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2427, allocations: 8.031 kB / 1.033 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.2427, allocations: 46.73 kB / 1.033 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.2427, allocations: 12.75 kB / 1.033 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.2429, allocations: 205 kB / 1.033 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2429, allocations: 4.562 kB / 1.033 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.243, allocations: 16.38 kB / 1.033 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.2431, allocations: 103.3 kB / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.2431, allocations: 0 / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2431, allocations: 4 kB / 1.033 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2432, allocations: 4 kB / 1.033 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.2432, allocations: 43.92 kB / 1.033 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.2437, allocations: 472.3 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.604e-05/0.2438, allocations: 45.25 kB / 1.034 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.2438, allocations: 17.84 kB / 1.034 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.2438, allocations: 11.94 kB / 1.034 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.2438, allocations: 30.56 kB / 1.034 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2438, allocations: 0 / 1.034 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.244, allocations: 57.53 kB / 1.034 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.244, allocations: 77.11 kB / 1.034 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.2442, allocations: 187.4 kB / 1.034 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.2442, allocations: 29.89 kB / 1.034 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.2443, allocations: 112.5 kB / 1.034 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.593e-06/0.2443, allocations: 3.938 kB / 1.034 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.2443, allocations: 17.72 kB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.2444, allocations: 318.8 kB / 1.034 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.2444, allocations: 4 kB / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/0.2444, allocations: 17.72 kB / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.2445, allocations: 29.7 kB / 1.034 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2445, allocations: 0 / 1.034 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.938e-05/0.2446, allocations: 65.45 kB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2446, allocations: 5.719 kB / 1.034 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2446, allocations: 7.984 kB / 1.034 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.2446, allocations: 0 / 1.034 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.2447, allocations: 11.98 kB / 1.034 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2447, allocations: 0 / 1.034 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.2447, allocations: 7.938 kB / 1.034 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.2447, allocations: 4.062 kB / 1.035 GB, free: 0.5859 MB / 0.7794 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.469e-05/0.2448, allocations: 121.7 kB / 1.035 GB, free: 468 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.2448, allocations: 15.81 kB / 1.035 GB, free: 452 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.2449, allocations: 12.56 kB / 1.035 GB, free: 440 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2449, allocations: 3.984 kB / 1.035 GB, free: 436 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2449, allocations: 0 / 1.035 GB, free: 436 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2449, allocations: 3.938 kB / 1.035 GB, free: 432 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.2452, allocations: 478.8 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2452, allocations: 0 / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.2453, allocations: 7.984 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2453, allocations: 3.938 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.2453, allocations: 0 / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2453, allocations: 0 / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2453, allocations: 0 / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.866e-05/0.2454, allocations: 85.91 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.2454, allocations: 92.91 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.2454, allocations: 3.938 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.2455, allocations: 0 / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.2455, allocations: 15.88 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.2455, allocations: 96 / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.987e-05/0.2456, allocations: 139.5 kB / 1.035 GB, free: 15.51 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2456, allocations: 0 / 1.035 GB, free: 15.51 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001762/0.2458, allocations: 12.03 kB / 1.035 GB, free: 15.5 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.00029/0.2461, allocations: 0.6171 MB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.324e-05/0.2461, allocations: 20.03 kB / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2462, allocations: 0 / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-06/0.2462, allocations: 4 kB / 1.036 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.2463, allocations: 13.53 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2474, allocations: 1.418 MB / 1.037 GB, free: 13.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.2476, allocations: 0.7004 MB / 1.038 GB, free: 12.57 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.042e-05/0.2476, allocations: 8.562 kB / 1.038 GB, free: 12.56 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.2477, allocations: 27.42 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.2477, allocations: 0 / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3131/0.5607, allocations: 1.517 MB / 1.04 GB, free: 11.16 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.561, allocations: 221 kB / 1.04 GB, free: 10.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.692, allocations: 0 / 1.04 GB, free: 10.9 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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