Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002447/0.002447, allocations: 212 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.349/3.349, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 72.22 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4089, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002323/0.4113, allocations: 0.7829 MB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.4114, allocations: 39.81 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.4115, allocations: 0 / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.67e-05/0.4115, allocations: 15.8 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.385e-05/0.4116, allocations: 15.86 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.01e-05/0.4116, allocations: 15.98 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.4118, allocations: 63.89 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.4119, allocations: 27.98 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.547e-05/0.412, allocations: 31.8 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.4121, allocations: 27.73 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.4121, allocations: 8 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.4121, allocations: 4 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.4121, allocations: 19.92 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.4122, allocations: 19.86 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.4123, allocations: 75.88 kB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4123, allocations: 0 / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.626e-06/0.4123, allocations: 7.984 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4123, allocations: 0 / 1.365 GB, free: 12.94 MB / 1.061 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.0004689/0.4128, allocations: 298 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4128, allocations: 15.97 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.4129, allocations: 42.67 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.4129, allocations: 16.84 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.4131, allocations: 134.4 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4132, allocations: 8.359 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.4132, allocations: 8.375 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.4134, allocations: 97.2 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4134, allocations: 7.938 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.4134, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4134, allocations: 4 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.4135, allocations: 31.98 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/0.4141, allocations: 391.8 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.567e-05/0.4141, allocations: 37.16 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.848e-05/0.4142, allocations: 21.84 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.4142, allocations: 4.031 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.4142, allocations: 30.56 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.4142, allocations: 4 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001805/0.4144, allocations: 61.52 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.4145, allocations: 77.11 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.4146, allocations: 160.3 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.4146, allocations: 25.7 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.4147, allocations: 108 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.4147, allocations: 7.953 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.4148, allocations: 13.72 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4149, allocations: 322.8 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.4149, allocations: 8.25 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.415, allocations: 17.72 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.083e-05/0.415, allocations: 33.64 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.415, allocations: 0 / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.627e-05/0.4151, allocations: 57.59 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4151, allocations: 7.938 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4151, allocations: 4 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4152, allocations: 3.938 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.4152, allocations: 15.98 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4152, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.4153, allocations: 4 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.4153, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 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 9.618e-05/0.4154, allocations: 117.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.4154, allocations: 15.84 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.4154, allocations: 11.81 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.4154, allocations: 0 / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4155, allocations: 0 / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.4155, allocations: 7.984 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.416, allocations: 437.9 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.416, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.416, allocations: 8 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.416, allocations: 0 / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.416, allocations: 0 / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.416, allocations: 0 / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.416, allocations: 0 / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.4161, allocations: 89.81 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.4162, allocations: 7.953 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.4162, allocations: 0 / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.125e-05/0.4162, allocations: 4.094 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.4162, allocations: 4 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.4162, allocations: 3.984 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001043/0.4163, allocations: 120.5 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4163, allocations: 0 / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001918/0.4165, allocations: 8 kB / 1.367 GB, free: 9.758 MB / 1.061 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.0005058/0.417, allocations: 0.617 MB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.437e-05/0.4171, allocations: 16.08 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4171, allocations: 4.062 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.4171, allocations: 7.938 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.4173, allocations: 10.66 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.4188, allocations: 1.331 MB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.38e-05/0.4189, allocations: 79.12 kB / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.127e-05/0.4189, allocations: 24.56 kB / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.419, allocations: 23.36 kB / 1.369 GB, free: 7.5 MB / 1.061 GB Notification: Performance of SimCode: time 8.82e-07/0.419, allocations: 4 kB / 1.369 GB, free: 7.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.4518, allocations: 2.103 MB / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.81, allocations: 1.688 kB / 1.371 GB, free: 5.523 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.919943346176296]