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.0013/0.0013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001377/0.001377, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.273/1.273, allocations: 222.9 MB / 239.9 MB, free: 4.488 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.238/2.238, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5375, allocations: 140.4 MB / 0.9492 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001762/0.5393, allocations: 0.9376 MB / 0.9502 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001044/0.5394, allocations: 46.34 kB / 0.9502 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.5394, allocations: 2.188 kB / 0.9502 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.5395, allocations: 11.86 kB / 0.9502 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/0.5396, allocations: 5.062 kB / 0.9502 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.085e-05/0.5396, allocations: 20.38 kB / 0.9502 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.5397, allocations: 82.73 kB / 0.9503 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.5398, allocations: 44.59 kB / 0.9504 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.5399, allocations: 41.91 kB / 0.9504 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.5399, allocations: 40.81 kB / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.54, allocations: 8.281 kB / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.54, allocations: 8.438 kB / 0.9505 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.54, allocations: 14.5 kB / 0.9505 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.54, allocations: 44.42 kB / 0.9505 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.605e-05/0.5401, allocations: 94.91 kB / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5401, allocations: 0 / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5401, allocations: 0 / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.5401, allocations: 0 / 0.9506 GB, free: 7.988 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.0003171/0.5405, allocations: 404.3 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5405, allocations: 9.938 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.5405, allocations: 38.22 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.5406, allocations: 14.72 kB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.5407, allocations: 204.6 kB / 0.9512 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5407, allocations: 11.55 kB / 0.9513 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.5408, allocations: 10.88 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.5409, allocations: 111.5 kB / 0.9514 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.5409, allocations: 0 / 0.9514 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.5409, allocations: 5.5 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5409, allocations: 2.688 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.541, allocations: 42.41 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.5414, allocations: 465.7 kB / 0.9519 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.816e-05/0.5415, allocations: 42.56 kB / 0.9519 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.5415, allocations: 15.66 kB / 0.9519 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.5415, allocations: 0 / 0.9519 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.5415, allocations: 43.92 kB / 0.952 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.5416, allocations: 4 kB / 0.952 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.5417, allocations: 52.73 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.5417, allocations: 77.11 kB / 0.9521 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.5419, allocations: 190.1 kB / 0.9523 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-06/0.5419, allocations: 25.7 kB / 0.9523 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.5419, allocations: 113.7 kB / 0.9524 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/0.5419, allocations: 5.281 kB / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.542, allocations: 29.97 kB / 0.9524 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.88e-05/0.542, allocations: 321.6 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.542, allocations: 2.75 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.542, allocations: 23.2 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.5421, allocations: 25.91 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5421, allocations: 0 / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.783e-05/0.5422, allocations: 60.86 kB / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.5422, allocations: 10.89 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.5422, allocations: 0 / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.5422, allocations: 1.375 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/0.5423, allocations: 5.5 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.5423, allocations: 3.938 kB / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.5423, allocations: 14.53 kB / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.5423, allocations: 1.375 kB / 0.9529 GB, free: 5.691 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.633e-05/0.5424, allocations: 114 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.5424, allocations: 13.41 kB / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.5424, allocations: 16.77 kB / 0.953 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5424, allocations: 3.984 kB / 0.953 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.5425, allocations: 1.375 kB / 0.953 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5425, allocations: 3.938 kB / 0.953 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.5427, allocations: 477.2 kB / 0.9535 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5427, allocations: 1.312 kB / 0.9535 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.5428, allocations: 6.625 kB / 0.9535 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5428, allocations: 5.344 kB / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.5428, allocations: 4 kB / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5428, allocations: 1.406 kB / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5428, allocations: 0 / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.95e-05/0.5429, allocations: 83.64 kB / 0.9536 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.5429, allocations: 88.8 kB / 0.9537 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.5429, allocations: 9.109 kB / 0.9537 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/0.5429, allocations: 1.312 kB / 0.9537 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.543, allocations: 5.312 kB / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.543, allocations: 1.25 kB / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.584e-05/0.543, allocations: 129.4 kB / 0.9538 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.543, allocations: 1.062 kB / 0.9538 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000192/0.5432, allocations: 11.25 kB / 0.9538 GB, free: 4.73 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.0002355/0.5435, allocations: 0.6248 MB / 0.9544 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.411e-05/0.5436, allocations: 18.86 kB / 0.9544 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5436, allocations: 0 / 0.9544 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.5436, allocations: 12.25 kB / 0.9545 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.5438, allocations: 15.62 kB / 0.9545 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009399/0.5447, allocations: 1.416 MB / 0.9559 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.5448, allocations: 0.6985 MB / 0.9565 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.405e-05/0.5449, allocations: 13.77 kB / 0.9566 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.5449, allocations: 27.72 kB / 0.9566 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5449, allocations: 0 / 0.9566 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3658/0.9108, allocations: 1.619 MB / 0.9582 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.911, allocations: 215.1 kB / 0.9584 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.787, allocations: 3.375 kB / 0.9584 GB, free: 0.9883 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