Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.From_ton,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001038/0.001038, 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.001066/0.001066, allocations: 194.7 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.3 MB / 0.6647 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 71.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6094, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002005/0.6115, allocations: 0.8078 MB / 0.9505 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.6116, allocations: 45.34 kB / 0.9506 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.6117, allocations: 5.344 kB / 0.9506 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.6117, allocations: 7.875 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.718e-05/0.6118, allocations: 3.938 kB / 0.9506 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.498e-05/0.6118, allocations: 23.42 kB / 0.9506 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.612, allocations: 59.78 kB / 0.9507 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.6121, allocations: 49.39 kB / 0.9507 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.6122, allocations: 26.61 kB / 0.9507 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.6122, allocations: 28.73 kB / 0.9508 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.6122, allocations: 5.938 kB / 0.9508 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.6123, allocations: 5.344 kB / 0.9508 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.6123, allocations: 15.17 kB / 0.9508 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.6123, allocations: 34.23 kB / 0.9508 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.835e-05/0.6124, allocations: 78.98 kB / 0.9509 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6124, allocations: 0 / 0.9509 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6124, allocations: 4 kB / 0.9509 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.6125, allocations: 1.312 kB / 0.9509 GB, free: 8.23 MB / 0.7169 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.0003548/0.6128, allocations: 378.2 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.6129, allocations: 9.031 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.6129, allocations: 41.36 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.6129, allocations: 14 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.6131, allocations: 193.9 kB / 0.9515 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.6131, allocations: 7.281 kB / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.6131, allocations: 9.875 kB / 0.9515 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.6133, allocations: 94.14 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.6133, allocations: 5.344 kB / 0.9516 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.6133, allocations: 4 kB / 0.9516 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.6133, allocations: 2.812 kB / 0.9516 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.6134, allocations: 35.86 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.6138, allocations: 441.4 kB / 0.9521 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.149e-05/0.6138, allocations: 41.17 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.6138, allocations: 19.53 kB / 0.9521 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.6139, allocations: 0 / 0.9521 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.6139, allocations: 35.91 kB / 0.9522 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.6139, allocations: 0 / 0.9522 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001488/0.614, allocations: 55.27 kB / 0.9522 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.6141, allocations: 81.09 kB / 0.9523 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.6142, allocations: 160.5 kB / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.6142, allocations: 25.7 kB / 0.9525 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.6142, allocations: 119.8 kB / 0.9526 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.6143, allocations: 5.25 kB / 0.9526 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.6143, allocations: 17.48 kB / 0.9526 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.6143, allocations: 321.6 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.6144, allocations: 15.27 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.6144, allocations: 18.34 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.361e-05/0.6144, allocations: 30.44 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6144, allocations: 0 / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.965e-05/0.6145, allocations: 59.03 kB / 0.953 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6145, allocations: 9.656 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.6145, allocations: 0 / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.6145, allocations: 1.062 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.537e-05/0.6146, allocations: 9.594 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.6146, allocations: 1.031 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.6146, allocations: 2.188 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.6146, allocations: 5.156 kB / 0.9531 GB, free: 6.008 MB / 0.7169 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.786e-05/0.6147, allocations: 114.2 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.6147, allocations: 11.75 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.6148, allocations: 10.58 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6148, allocations: 1.5 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6148, allocations: 0 / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6148, allocations: 1.625 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.615, allocations: 477.6 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6151, allocations: 0 / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.6151, allocations: 3.812 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.6151, allocations: 0 / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.6151, allocations: 1.344 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6151, allocations: 5.203 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6151, allocations: 3.938 kB / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.164e-05/0.6152, allocations: 87.25 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.6152, allocations: 91.94 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.6152, allocations: 1.25 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.6152, allocations: 0 / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.6153, allocations: 1.062 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-06/0.6153, allocations: 1.5 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.654e-05/0.6153, allocations: 120.7 kB / 0.954 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6154, allocations: 3.938 kB / 0.954 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001845/0.6155, allocations: 15.16 kB / 0.954 GB, free: 5.055 MB / 0.7169 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.0002309/0.6158, allocations: 0.6117 MB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.873e-05/0.6159, allocations: 19.12 kB / 0.9546 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6159, allocations: 3.938 kB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/0.6159, allocations: 13.08 kB / 0.9546 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.6161, allocations: 6.469 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000846/0.6169, allocations: 1.325 MB / 0.9559 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.845e-05/0.617, allocations: 0.6949 MB / 0.9566 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.617, allocations: 8.328 kB / 0.9566 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.6171, allocations: 31.48 kB / 0.9566 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6171, allocations: 0 / 0.9566 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.6395, allocations: 1.531 MB / 0.9581 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/7.452, allocations: 20.28 kB / 0.9581 GB, free: 1.594 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches