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.0007396/0.0007397, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.003895/0.003895, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.507/2.507, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 15.5 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2457, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.0009316/0.2466, allocations: 0.5959 MB / 1.059 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.2468, allocations: 51.72 kB / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.2468, allocations: 4 kB / 1.059 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.2469, allocations: 7.922 kB / 1.059 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.2469, allocations: 3.938 kB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.002e-05/0.247, allocations: 19.98 kB / 1.059 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.541e-05/0.2471, allocations: 71.78 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2472, allocations: 57.08 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.2473, allocations: 27.8 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.2473, allocations: 23.8 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2474, allocations: 8 kB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-06/0.2474, allocations: 0 / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.2474, allocations: 11.88 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.2475, allocations: 57.44 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.2476, allocations: 103.8 kB / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.2476, allocations: 0 / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2476, allocations: 0 / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.2476, allocations: 0 / 1.06 GB, free: 3.844 MB / 0.8106 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.0003472/0.2479, allocations: 363.5 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.248, allocations: 19.97 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.248, allocations: 50.67 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.2481, allocations: 12.75 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.2483, allocations: 196.3 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2483, allocations: 12.56 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.2483, allocations: 12.38 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.2485, allocations: 103.9 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2485, allocations: 4 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.2485, allocations: 4 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2485, allocations: 3.984 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.015e-05/0.2486, allocations: 43.92 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.2491, allocations: 484.2 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.2491, allocations: 41.16 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.2492, allocations: 17.78 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.2492, allocations: 0 / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.2492, allocations: 34.56 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2492, allocations: 0 / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001546/0.2494, allocations: 57.53 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.2494, allocations: 77.11 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.2496, allocations: 191.1 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.2496, allocations: 25.7 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.2497, allocations: 111.9 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.2497, allocations: 3.938 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.2497, allocations: 13.72 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.2498, allocations: 323.1 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.2498, allocations: 8 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.2499, allocations: 21.66 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.2499, allocations: 25.7 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2499, allocations: 0 / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.444e-05/0.25, allocations: 65.45 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.25, allocations: 9.469 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.25, allocations: 0 / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.25, allocations: 0 / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.2501, allocations: 11.98 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2501, allocations: 0 / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.2501, allocations: 7.938 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.2501, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 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.46e-05/0.2502, allocations: 113.8 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.2503, allocations: 11.81 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.2503, allocations: 16.56 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2503, allocations: 3.984 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2503, allocations: 4.219 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2503, allocations: 3.938 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.2507, allocations: 474.7 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2507, allocations: 4 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.2507, allocations: 3.984 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2507, allocations: 7.938 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.2507, allocations: 4.062 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2507, allocations: 3.938 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2507, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.252e-05/0.2508, allocations: 81.81 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.2509, allocations: 85 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2509, allocations: 7.938 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.2509, allocations: 4.031 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.2509, allocations: 4 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2509, allocations: 8 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.861e-05/0.251, allocations: 131.2 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.251, allocations: 0 / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000184/0.2512, allocations: 11.94 kB / 1.063 GB, free: 192 kB / 0.8106 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.0003135/0.2515, allocations: 0.6209 MB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.118e-05/0.2516, allocations: 19.94 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2516, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/0.2516, allocations: 4 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.2518, allocations: 8 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.2529, allocations: 1.422 MB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.2531, allocations: 0.6965 MB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.2531, allocations: 8.562 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.2532, allocations: 31.36 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2532, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.2666, allocations: 1.513 MB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.2668, allocations: 227.3 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/1.798, allocations: 0 / 1.067 GB, free: 11.58 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 & /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