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.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.0007841/0.0007841, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008216/0.0008216, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9196/0.9196, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.654/1.654, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 2.495e-06/2.495e-06, allocations: 4 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/2.067e-05, allocations: 5.516 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001391/0.001411, allocations: 0.7946 MB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001067/0.001518, allocations: 39.78 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.001566, allocations: 4 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.001602, allocations: 7.875 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.00168, allocations: 15.81 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.311e-05/0.001723, allocations: 23.97 kB / 0.9514 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.001821, allocations: 59.84 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.001946, allocations: 27.97 kB / 0.9515 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.618e-05/0.002032, allocations: 39.84 kB / 0.9515 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.762e-05/0.00207, allocations: 19.91 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.002092, allocations: 8 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.0021, allocations: 8 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.002118, allocations: 11.92 kB / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.002154, allocations: 23.92 kB / 0.9516 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.002259, allocations: 67.7 kB / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.002262, allocations: 8 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.353e-06/0.002263, allocations: 0 / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002267, allocations: 0 / 0.9516 GB, free: 2.34 MB / 0.9011 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.0003448/0.002612, allocations: 306 kB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.002649, allocations: 8.031 kB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.002681, allocations: 38.75 kB / 0.952 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.002707, allocations: 16.84 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.002854, allocations: 137.5 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.002864, allocations: 4.375 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.002875, allocations: 12.36 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.002991, allocations: 99.89 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.002998, allocations: 192 / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.003006, allocations: 384 / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.003015, allocations: 12.11 kB / 0.9522 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/0.003079, allocations: 39.92 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.00348, allocations: 387.8 kB / 0.9526 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.328e-05/0.003533, allocations: 41.19 kB / 0.9527 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.003565, allocations: 17.84 kB / 0.9527 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.003573, allocations: 4 kB / 0.9527 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.003595, allocations: 34.56 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.003596, allocations: 4 kB / 0.9527 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001492/0.003745, allocations: 53.58 kB / 0.9528 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.003788, allocations: 81.05 kB / 0.9529 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.003904, allocations: 161 kB / 0.953 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.003914, allocations: 25.7 kB / 0.9531 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.003978, allocations: 96.09 kB / 0.9531 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.003988, allocations: 11.94 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.004018, allocations: 21.92 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.004118, allocations: 322.8 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.004134, allocations: 7.984 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.004153, allocations: 21.66 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.004187, allocations: 25.72 kB / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.004189, allocations: 0 / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.569e-05/0.004255, allocations: 61.58 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.004271, allocations: 8 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.004276, allocations: 0 / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.004288, allocations: 4.062 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.004343, allocations: 11.94 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.004349, allocations: 0 / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.004366, allocations: 7.938 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.00437, allocations: 0 / 0.9536 GB, free: 68 kB / 0.9011 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 7.187e-05/0.004442, allocations: 117.8 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.004464, allocations: 7.953 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.004484, allocations: 11.81 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.004486, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.004491, allocations: 11.88 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.004493, allocations: 4 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.004733, allocations: 437.9 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.004735, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.004748, allocations: 11.92 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.004749, allocations: 3.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.004754, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.004755, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004756, allocations: 4 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.813e-05/0.004804, allocations: 69.95 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.004825, allocations: 19.97 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-06/0.004834, allocations: 4 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.004844, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.041e-05/0.004854, allocations: 4 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.004856, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.004908, allocations: 119.2 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.8e-07/0.004908, allocations: 0 / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001224/0.005031, allocations: 8 kB / 0.9544 GB, free: 15.16 MB / 0.9167 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.0002305/0.005261, allocations: 0.6132 MB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.035e-05/0.005331, allocations: 23.97 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.005333, allocations: 0 / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.00534, allocations: 7.984 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.005457, allocations: 8 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008232/0.00628, allocations: 1.34 MB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.006323, allocations: 83.52 kB / 0.9564 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.00635, allocations: 8.484 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.00639, allocations: 20.5 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of SimCode: time 4.21e-07/0.006391, allocations: 0 / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.02147, allocations: 2.243 MB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.683/6.704, allocations: 8.547 kB / 0.9587 GB, free: 10.8 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.692901267670095]