Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 103.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.886/2.886, allocations: 476.7 MB / 0.7611 GB, free: 15.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003523/0.003523, allocations: 75.89 kB / 1.104 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9968/1, allocations: 168.7 MB / 1.269 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002468/1.003, allocations: 0.8345 MB / 1.27 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001155/1.003, allocations: 48.64 kB / 1.27 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/1.003, allocations: 2.156 kB / 1.27 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/1.003, allocations: 9.469 kB / 1.27 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.434e-05/1.003, allocations: 9.938 kB / 1.27 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.313e-05/1.003, allocations: 20.38 kB / 1.27 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/1.003, allocations: 58.89 kB / 1.27 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/1.003, allocations: 35.27 kB / 1.27 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/1.003, allocations: 30.91 kB / 1.27 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/1.004, allocations: 25.97 kB / 1.27 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/1.004, allocations: 6.531 kB / 1.27 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/1.004, allocations: 9.312 kB / 1.27 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/1.004, allocations: 16.92 kB / 1.27 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/1.004, allocations: 31.94 kB / 1.27 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/1.004, allocations: 73.7 kB / 1.27 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.004, allocations: 0 / 1.27 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/1.004, allocations: 0 / 1.27 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.004, allocations: 0.9844 kB / 1.27 GB, free: 6.984 MB / 0.9981 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.0003952/1.004, allocations: 392 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.004, allocations: 13.5 kB / 1.27 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/1.004, allocations: 43.05 kB / 1.27 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/1.004, allocations: 14.38 kB / 1.27 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/1.004, allocations: 192.7 kB / 1.271 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/1.004, allocations: 3.031 kB / 1.271 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/1.005, allocations: 9.562 kB / 1.271 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/1.005, allocations: 97.23 kB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.005, allocations: 7.938 kB / 1.271 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/1.005, allocations: 0.7812 kB / 1.271 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/1.005, allocations: 2.344 kB / 1.271 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/1.005, allocations: 36.3 kB / 1.271 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/1.005, allocations: 438.2 kB / 1.271 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.169e-05/1.005, allocations: 44.81 kB / 1.271 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/1.005, allocations: 20.53 kB / 1.271 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/1.005, allocations: 4.906 kB / 1.271 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/1.005, allocations: 31.91 kB / 1.271 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/1.005, allocations: 0.625 kB / 1.271 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000165/1.006, allocations: 60.41 kB / 1.271 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/1.006, allocations: 79.06 kB / 1.271 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/1.006, allocations: 159.9 kB / 1.271 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/1.006, allocations: 25.7 kB / 1.272 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/1.006, allocations: 99.89 kB / 1.272 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/1.006, allocations: 6.125 kB / 1.272 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/1.006, allocations: 21.86 kB / 1.272 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.808e-05/1.006, allocations: 320.4 kB / 1.272 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/1.006, allocations: 8.062 kB / 1.272 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/1.006, allocations: 19.42 kB / 1.272 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/1.006, allocations: 27.67 kB / 1.272 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.006, allocations: 4 kB / 1.272 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.06e-05/1.006, allocations: 57.73 kB / 1.272 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.006, allocations: 14.03 kB / 1.272 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.006, allocations: 8.781 kB / 1.272 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.006, allocations: 0.9062 kB / 1.272 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/1.006, allocations: 5.672 kB / 1.272 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.006, allocations: 1.312 kB / 1.272 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/1.006, allocations: 6.219 kB / 1.272 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/1.006, allocations: 2 kB / 1.272 GB, free: 4.844 MB / 0.9981 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 4.692e-05/1.006, allocations: 113.7 kB / 1.272 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/1.006, allocations: 12.61 kB / 1.272 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/1.006, allocations: 16.91 kB / 1.272 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.006, allocations: 4.812 kB / 1.272 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.006, allocations: 1.531 kB / 1.272 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/1.006, allocations: 0 / 1.272 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/1.007, allocations: 470.5 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.007, allocations: 0.8125 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/1.007, allocations: 4.016 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.007, allocations: 0.9062 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/1.007, allocations: 9.328 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.007, allocations: 0.75 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.007, allocations: 1.734 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.119e-05/1.007, allocations: 79.53 kB / 1.273 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/1.007, allocations: 86.64 kB / 1.273 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/1.007, allocations: 2.578 kB / 1.273 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.042e-05/1.007, allocations: 8.812 kB / 1.273 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/1.007, allocations: 1.5 kB / 1.273 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/1.007, allocations: 1.719 kB / 1.273 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.048e-05/1.007, allocations: 119.6 kB / 1.273 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.007, allocations: 0 / 1.273 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001937/1.007, allocations: 7.156 kB / 1.273 GB, free: 3.93 MB / 0.9981 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.0002548/1.007, allocations: 0.6203 MB / 1.274 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.862e-05/1.007, allocations: 15.52 kB / 1.274 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.007, allocations: 0 / 1.274 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/1.007, allocations: 8.438 kB / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/1.007, allocations: 15.03 kB / 1.274 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/1.009, allocations: 1.338 MB / 1.275 GB, free: 18.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/1.009, allocations: 0.7004 MB / 1.276 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.396e-05/1.009, allocations: 11.31 kB / 1.276 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/1.009, allocations: 24.92 kB / 1.276 GB, free: 17.34 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.009, allocations: 0 / 1.276 GB, free: 17.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/1.124, allocations: 1.592 MB / 1.277 GB, free: 16.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.588/9.711, allocations: 13.95 kB / 1.277 GB, free: 16.93 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.222192612942308]