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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001277/0.001277, allocations: 194.6 kB / 16.14 MB, free: 6.648 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5164, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001599/0.518, allocations: 0.8661 MB / 0.9499 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.827e-05/0.5181, allocations: 43.91 kB / 0.9499 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.5181, allocations: 6.688 kB / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.5182, allocations: 3.938 kB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.5182, allocations: 7.938 kB / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.861e-05/0.5183, allocations: 16.11 kB / 0.95 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.811e-05/0.5184, allocations: 53.91 kB / 0.95 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.5185, allocations: 39.09 kB / 0.9501 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.227e-05/0.5185, allocations: 22.73 kB / 0.9501 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.368e-05/0.5185, allocations: 29.3 kB / 0.9501 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.5186, allocations: 8.109 kB / 0.9501 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-06/0.5186, allocations: 4.125 kB / 0.9501 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.5186, allocations: 17.23 kB / 0.9501 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.5186, allocations: 34.62 kB / 0.9502 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.532e-05/0.5187, allocations: 66.34 kB / 0.9502 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5187, allocations: 4 kB / 0.9502 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5187, allocations: 3.984 kB / 0.9503 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.5187, allocations: 1.375 kB / 0.9503 GB, free: 8.172 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.0002699/0.519, allocations: 377.1 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.519, allocations: 9.625 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.255e-05/0.519, allocations: 45.48 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.13e-05/0.5191, allocations: 10.34 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.5192, allocations: 189.8 kB / 0.9509 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.5192, allocations: 15.06 kB / 0.9509 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.5192, allocations: 9.875 kB / 0.9509 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.5193, allocations: 86.08 kB / 0.951 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.5193, allocations: 3.938 kB / 0.951 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.5194, allocations: 9.359 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5194, allocations: 1.375 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.205e-05/0.5194, allocations: 39.64 kB / 0.951 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.5198, allocations: 432.6 kB / 0.9514 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.285e-05/0.5198, allocations: 37.97 kB / 0.9515 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.5199, allocations: 19.78 kB / 0.9515 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-06/0.5199, allocations: 4 kB / 0.9515 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.5199, allocations: 35.86 kB / 0.9515 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5199, allocations: 0 / 0.9515 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001275/0.52, allocations: 55.52 kB / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.5201, allocations: 81.11 kB / 0.9516 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/0.5202, allocations: 159.7 kB / 0.9518 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-06/0.5202, allocations: 27.23 kB / 0.9518 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.5202, allocations: 119.6 kB / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-06/0.5202, allocations: 5.219 kB / 0.9519 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.5202, allocations: 17.53 kB / 0.952 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.324e-05/0.5203, allocations: 321.4 kB / 0.9523 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.5203, allocations: 2.438 kB / 0.9523 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.5203, allocations: 30.88 kB / 0.9523 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.5204, allocations: 26.81 kB / 0.9523 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5204, allocations: 0 / 0.9523 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.489e-05/0.5204, allocations: 59.33 kB / 0.9524 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.5204, allocations: 9.312 kB / 0.9524 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.5205, allocations: 0 / 0.9524 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.5205, allocations: 1.188 kB / 0.9524 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.5205, allocations: 9.016 kB / 0.9524 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.5205, allocations: 5 kB / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.5206, allocations: 7.125 kB / 0.9524 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.5206, allocations: 1.594 kB / 0.9524 GB, free: 5.953 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.003e-05/0.5206, allocations: 112.8 kB / 0.9525 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.5207, allocations: 11.69 kB / 0.9525 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.5207, allocations: 14.48 kB / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5207, allocations: 1.5 kB / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5207, allocations: 0 / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5207, allocations: 1.438 kB / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.5209, allocations: 477.7 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5209, allocations: 1.094 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.521, allocations: 2.281 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.521, allocations: 0.875 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.521, allocations: 4.812 kB / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.521, allocations: 5.156 kB / 0.953 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.521, allocations: 4.578 kB / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.198e-05/0.521, allocations: 86.92 kB / 0.9531 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.5211, allocations: 87.52 kB / 0.9532 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.5211, allocations: 1.375 kB / 0.9532 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.5211, allocations: 5.828 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-06/0.5211, allocations: 0 / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.5211, allocations: 1.688 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.741e-05/0.5212, allocations: 124.4 kB / 0.9533 GB, free: 5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5212, allocations: 7.969 kB / 0.9533 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001737/0.5214, allocations: 7.25 kB / 0.9533 GB, free: 4.992 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.0001801/0.5216, allocations: 0.6176 MB / 0.9539 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.099e-05/0.5216, allocations: 18.59 kB / 0.954 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.5216, allocations: 0 / 0.954 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.217e-06/0.5216, allocations: 8.031 kB / 0.954 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.5218, allocations: 7.969 kB / 0.954 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007302/0.5225, allocations: 1.351 MB / 0.9553 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.085e-05/0.5226, allocations: 0.6911 MB / 0.956 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.5226, allocations: 12.2 kB / 0.956 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.5227, allocations: 19.22 kB / 0.956 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5227, allocations: 1.25 kB / 0.956 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.494/2.017, allocations: 1.422 MB / 0.9574 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/2.017, allocations: 212.7 kB / 0.9576 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/3.537, allocations: 3.844 kB / 0.9576 GB, free: 1.387 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