Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_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.001108/0.001108, 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.00109/0.00109, allocations: 195.5 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.256/2.256, allocations: 390.2 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 75.83 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5329/0.5342, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001864/0.5361, allocations: 0.8722 MB / 0.9506 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001116/0.5362, allocations: 55.06 kB / 0.9506 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.5362, allocations: 2.156 kB / 0.9506 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.5363, allocations: 7.875 kB / 0.9506 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.78e-05/0.5364, allocations: 17.02 kB / 0.9507 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.402e-05/0.5364, allocations: 23.95 kB / 0.9507 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.5365, allocations: 78.81 kB / 0.9507 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.5367, allocations: 56.19 kB / 0.9508 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.808e-05/0.5367, allocations: 37.48 kB / 0.9508 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.5368, allocations: 33.58 kB / 0.9509 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.5368, allocations: 7.562 kB / 0.9509 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.5368, allocations: 8.281 kB / 0.9509 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.5368, allocations: 23.42 kB / 0.9509 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.5369, allocations: 40.02 kB / 0.9509 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.537, allocations: 90.98 kB / 0.951 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.537, allocations: 3.938 kB / 0.951 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.472e-06/0.537, allocations: 0 / 0.951 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.537, allocations: 1.219 kB / 0.951 GB, free: 8.086 MB / 0.7169 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.0003665/0.5374, allocations: 403.7 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5374, allocations: 9.625 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.5375, allocations: 45.52 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.5375, allocations: 10.41 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.5377, allocations: 206.7 kB / 0.9517 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.5377, allocations: 9.219 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.5377, allocations: 13.53 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.5379, allocations: 109.4 kB / 0.9518 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5379, allocations: 0 / 0.9518 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5379, allocations: 9.594 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.5379, allocations: 1.469 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.538, allocations: 38.86 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.5384, allocations: 469.7 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.5385, allocations: 44.84 kB / 0.9523 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.5385, allocations: 20.09 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.5385, allocations: 0 / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.5386, allocations: 35.75 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.5386, allocations: 1.062 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000152/0.5387, allocations: 54.97 kB / 0.9525 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.5388, allocations: 78.17 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.5389, allocations: 198.1 kB / 0.9527 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.5389, allocations: 25.7 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.539, allocations: 109.5 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.539, allocations: 5.375 kB / 0.9529 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.539, allocations: 26.75 kB / 0.9529 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.5391, allocations: 321.1 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.5391, allocations: 6.938 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.5391, allocations: 14.66 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.5391, allocations: 30.55 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5391, allocations: 0 / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.089e-05/0.5392, allocations: 60.27 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5392, allocations: 4.719 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5392, allocations: 1.375 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5393, allocations: 0 / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/0.5393, allocations: 10.23 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5393, allocations: 0 / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.5394, allocations: 15.09 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.5394, allocations: 5.406 kB / 0.9533 GB, free: 5.785 MB / 0.7169 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 5.412e-05/0.5394, allocations: 126 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.5395, allocations: 13 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.5395, allocations: 8.188 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5395, allocations: 5.016 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5395, allocations: 0 / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5395, allocations: 4.75 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.5398, allocations: 477.4 kB / 0.9539 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5398, allocations: 4.062 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.5398, allocations: 8.141 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5398, allocations: 3.938 kB / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.5399, allocations: 0.6875 kB / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5399, allocations: 1.219 kB / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5399, allocations: 1.031 kB / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.106e-05/0.5399, allocations: 75.38 kB / 0.954 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.54, allocations: 96.86 kB / 0.9541 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.54, allocations: 5.281 kB / 0.9541 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.54, allocations: 0 / 0.9541 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.54, allocations: 5.5 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.54, allocations: 1.156 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.467e-05/0.5401, allocations: 134.7 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5401, allocations: 0 / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001899/0.5403, allocations: 12.03 kB / 0.9543 GB, free: 4.82 MB / 0.7169 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.0002545/0.5406, allocations: 0.6229 MB / 0.9549 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.5407, allocations: 18.12 kB / 0.9549 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5407, allocations: 1.625 kB / 0.9549 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.5407, allocations: 12.09 kB / 0.9549 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.5409, allocations: 10.27 kB / 0.9549 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.5418, allocations: 1.39 MB / 0.9563 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.354e-05/0.5419, allocations: 0.6982 MB / 0.957 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.5419, allocations: 5.5 kB / 0.957 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.542, allocations: 32.58 kB / 0.957 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.542, allocations: 0 / 0.957 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.5585, allocations: 1.705 MB / 0.9587 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.517/9.076, allocations: 7.516 kB / 0.9587 GB, free: 1.254 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches