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.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.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.0008285/0.0008284, allocations: 89.97 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.005156/0.005156, allocations: 176.2 kB / 16.27 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.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.351/2.351, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 8 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5249, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0008714/0.5258, allocations: 0.5353 MB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.664e-05/0.5259, allocations: 47.78 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.526, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.526, allocations: 3.938 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.5261, allocations: 3.938 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.059e-05/0.5261, allocations: 19.98 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.587e-05/0.5262, allocations: 55.84 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.5264, allocations: 39.95 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.5264, allocations: 23.81 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.5264, allocations: 23.8 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.5265, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.5265, allocations: 4 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.5265, allocations: 7.922 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.5265, allocations: 53.52 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.702e-05/0.5266, allocations: 66 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5266, allocations: 3.938 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5266, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.5267, allocations: 3.938 kB / 1.024 GB, free: 14.96 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003242/0.527, allocations: 375.2 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.527, allocations: 8.031 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.5271, allocations: 38.75 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.5271, allocations: 8.844 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.5273, allocations: 192.1 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.5273, allocations: 16.36 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.5273, allocations: 4.375 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.5274, allocations: 93.52 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.5275, allocations: 3.938 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.5275, allocations: 4 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5275, allocations: 4 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.5275, allocations: 35.92 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.528, allocations: 440.5 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.555e-05/0.528, allocations: 41.34 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.5281, allocations: 21.78 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.5281, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.5281, allocations: 34.56 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5281, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001413/0.5283, allocations: 57.47 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.5283, allocations: 77.11 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.5284, allocations: 172.3 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.5284, allocations: 25.7 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.5285, allocations: 104 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.5285, allocations: 11.89 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.5285, allocations: 9.719 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.189e-05/0.5286, allocations: 318.8 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.5286, allocations: 7.984 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.5287, allocations: 17.72 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.5287, allocations: 25.72 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5287, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.401e-05/0.5288, allocations: 61.53 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.5288, allocations: 15.88 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.5288, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.5288, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.5289, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.5289, allocations: 8.062 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.5289, allocations: 3.906 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.5289, allocations: 7.938 kB / 1.026 GB, free: 12.48 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.615e-05/0.529, allocations: 120 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.5291, allocations: 11.84 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.5291, allocations: 11.88 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.5291, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5291, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.5291, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.5294, allocations: 470.8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5294, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.5295, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.5295, allocations: 3.984 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.5295, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5295, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5295, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.31e-05/0.5296, allocations: 85.91 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.5296, allocations: 88.94 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.5296, allocations: 4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.5297, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.5297, allocations: 7.938 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.5297, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.429e-05/0.5298, allocations: 125.5 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5298, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001748/0.5299, allocations: 8 kB / 1.027 GB, free: 11.44 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.0002866/0.5302, allocations: 0.617 MB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.914e-05/0.5303, allocations: 19.97 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5303, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.5303, allocations: 7.984 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.5305, allocations: 8 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/0.5314, allocations: 1.34 MB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.5316, allocations: 0.6926 MB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.5317, allocations: 12.5 kB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.5317, allocations: 27.42 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5317, allocations: 0 / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.794/3.326, allocations: 1.355 MB / 1.031 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/3.326, allocations: 209 kB / 1.031 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/4.87, allocations: 4 kB / 1.031 GB, free: 7.07 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