Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_10_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.00117/0.00117, allocations: 89.89 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.008336/0.008336, allocations: 172.3 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.239/1.239, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.339/2.339, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 12 kB / 0.873 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5366, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.0009373/0.5376, allocations: 0.5899 MB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001294/0.5377, allocations: 51.77 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.5378, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.5378, allocations: 7.875 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.744e-05/0.5379, allocations: 11.94 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.502e-05/0.5379, allocations: 23.98 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.5381, allocations: 67.84 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.5382, allocations: 53.06 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.5383, allocations: 27.73 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.5383, allocations: 23.8 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.5383, allocations: 4 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-06/0.5383, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.5384, allocations: 15.92 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.5384, allocations: 61.39 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.5385, allocations: 89.83 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5385, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5385, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.5385, allocations: 0 / 1.024 GB, free: 14.78 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.0003608/0.5389, allocations: 387.4 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.539, allocations: 8.031 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.539, allocations: 42.69 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.539, allocations: 16.73 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.5392, allocations: 206.4 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.5392, allocations: 8.562 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.5393, allocations: 4.375 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.5394, allocations: 114.8 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.5394, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5395, allocations: 7.984 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5395, allocations: 4 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.632e-05/0.5396, allocations: 39.98 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.5401, allocations: 472.4 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.689e-05/0.5401, allocations: 37.27 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.5402, allocations: 21.78 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.5402, allocations: 3.984 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.5402, allocations: 42.5 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.5402, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.5404, allocations: 53.55 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.5404, allocations: 77.11 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.5406, allocations: 187.1 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.5406, allocations: 25.7 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.5407, allocations: 112 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-06/0.5407, allocations: 3.906 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.5407, allocations: 17.97 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.5408, allocations: 318.8 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.5408, allocations: 8 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-05/0.5408, allocations: 17.7 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.5409, allocations: 29.66 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5409, allocations: 4 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.708e-05/0.541, allocations: 57.59 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.541, allocations: 4 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.541, allocations: 4 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.541, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/0.5411, allocations: 7.938 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.5411, allocations: 4 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.5411, allocations: 19.78 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.5411, allocations: 3.938 kB / 1.026 GB, free: 12.18 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.645e-05/0.5412, allocations: 117.9 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.5413, allocations: 15.81 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.5413, allocations: 16.55 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5413, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5413, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5413, allocations: 8.016 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.5417, allocations: 474.8 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5417, allocations: 64 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.5417, allocations: 8 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.5417, allocations: 3.938 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.5417, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5417, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5417, allocations: 7.938 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.187e-05/0.5418, allocations: 77.83 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.5419, allocations: 96.95 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.5419, allocations: 7.922 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.5419, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.5419, allocations: 4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.5419, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.112e-05/0.542, allocations: 132.3 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.542, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001811/0.5422, allocations: 12 kB / 1.027 GB, free: 11.11 MB / 0.7794 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.0003124/0.5425, allocations: 0.617 MB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.367e-05/0.5426, allocations: 15.98 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5426, allocations: 4 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.5426, allocations: 12.16 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.5428, allocations: 9.781 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.5439, allocations: 1.417 MB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.5442, allocations: 0.7004 MB / 1.03 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.302e-05/0.5442, allocations: 12.48 kB / 1.03 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.5442, allocations: 31.42 kB / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.5442, allocations: 4 kB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9713/1.516, allocations: 1.51 MB / 1.032 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/1.516, allocations: 211.3 kB / 1.032 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/2.996, allocations: 3.875 kB / 1.032 GB, free: 6.504 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches