Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.To_ton,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",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.001476/0.001476, allocations: 108 kB / 15.6 MB, free: 132 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.001693/0.001693, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.302/1.302, 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 10.1.1-maint.10.0.x/package.mo): time 2.415/2.415, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 71.89 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4874, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001715/0.4891, allocations: 0.8211 MB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.109e-05/0.4892, allocations: 43.78 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.4893, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.4893, allocations: 7.875 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.4894, allocations: 7.938 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.218e-05/0.4894, allocations: 15.98 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.731e-05/0.4895, allocations: 67.78 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.4896, allocations: 39.97 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.4897, allocations: 31.84 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.4897, allocations: 27.86 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.4898, allocations: 8 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.4898, allocations: 8 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.4898, allocations: 11.92 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.4898, allocations: 43.67 kB / 1.019 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.751e-05/0.4899, allocations: 70.02 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4899, allocations: 0 / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4899, allocations: 0 / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.4899, allocations: 0 / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003118/0.4902, allocations: 387.1 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.4903, allocations: 8.031 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.4903, allocations: 38.75 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/0.4903, allocations: 12.78 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.4905, allocations: 192.2 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.4905, allocations: 8.375 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4905, allocations: 12.31 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.4906, allocations: 89.73 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4907, allocations: 3.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4907, allocations: 12 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4907, allocations: 3.938 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.169e-05/0.4908, allocations: 35.92 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.4912, allocations: 428.7 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.4912, allocations: 45.17 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.4912, allocations: 21.84 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.4913, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.4913, allocations: 30.56 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.4913, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.4914, allocations: 61.47 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.4915, allocations: 81.11 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.4916, allocations: 167.2 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.4916, allocations: 25.7 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.4917, allocations: 108 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-06/0.4917, allocations: 7.891 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.4917, allocations: 13.72 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.4918, allocations: 327.1 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.4918, allocations: 11.98 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.4918, allocations: 21.66 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.4919, allocations: 25.72 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4919, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.141e-05/0.4919, allocations: 57.53 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.492, allocations: 16 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.492, allocations: 3.984 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-06/0.492, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.677e-05/0.492, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.492, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.4921, allocations: 7.906 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.4921, allocations: 0 / 1.021 GB, free: 14.79 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 5.521e-05/0.4921, allocations: 117.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.4922, allocations: 11.84 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.4922, allocations: 11.88 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.4922, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4922, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.4922, allocations: 8.031 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.4925, allocations: 470.8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4925, allocations: 7.922 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.6e-05/0.4926, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.4926, allocations: 12.05 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.4926, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4926, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4926, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.057e-05/0.4927, allocations: 73.84 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.4927, allocations: 96.94 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.4927, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.4927, allocations: 8.031 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.4928, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.4928, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.4928, allocations: 121.5 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4928, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001703/0.493, allocations: 12 kB / 1.022 GB, free: 13.74 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.0002565/0.4933, allocations: 0.6194 MB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.131e-05/0.4933, allocations: 15.94 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4933, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.4934, allocations: 11.98 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.4935, allocations: 8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.4944, allocations: 1.32 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.4945, allocations: 0.6963 MB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.4946, allocations: 8.422 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.4946, allocations: 27.42 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.4946, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9389/1.434, allocations: 1.529 MB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14.65, allocations: 6.141 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches