Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_latest_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.001865/0.001865, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002212/0.002211, allocations: 195.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.186/2.186, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.133/4.133, allocations: 461.9 MB / 0.7343 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 63.61 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3149, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.003499/0.3184, allocations: 0.8981 MB / 1.053 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000171/0.3186, allocations: 39.78 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.891e-05/0.3187, allocations: 4 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.857e-05/0.3188, allocations: 3.938 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.813e-05/0.3189, allocations: 3.938 kB / 1.053 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.247e-05/0.319, allocations: 19.98 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.3192, allocations: 55.86 kB / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.3194, allocations: 51.95 kB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.241e-05/0.3195, allocations: 19.88 kB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.3196, allocations: 35.78 kB / 1.054 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.3196, allocations: 8 kB / 1.054 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.829e-05/0.3196, allocations: 8 kB / 1.054 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.3197, allocations: 15.92 kB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.3198, allocations: 39.73 kB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.3199, allocations: 68 kB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3199, allocations: 0 / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.32, allocations: 0 / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.32, allocations: 0 / 1.054 GB, free: 7.395 MB / 0.8106 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.0005886/0.3206, allocations: 375.3 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.3206, allocations: 8.625 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.915e-05/0.3207, allocations: 42.75 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.3208, allocations: 8.844 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.3211, allocations: 200.1 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3211, allocations: 12.28 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3211, allocations: 4.375 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.3214, allocations: 92.89 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3214, allocations: 3.938 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3214, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3214, allocations: 8 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.3216, allocations: 39.92 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.3224, allocations: 436.5 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.426e-05/0.3225, allocations: 45.34 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.3226, allocations: 17.78 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.3226, allocations: 0 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.3227, allocations: 34.56 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.3227, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002713/0.3229, allocations: 57.47 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.323, allocations: 85.3 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.3233, allocations: 162.2 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3233, allocations: 25.7 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.3234, allocations: 104 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3234, allocations: 11.91 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.3235, allocations: 9.719 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3237, allocations: 322.8 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.3237, allocations: 8 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.3238, allocations: 17.72 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.368e-05/0.3239, allocations: 25.72 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3239, allocations: 0 / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001458/0.324, allocations: 61.53 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3241, allocations: 9.656 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3241, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3241, allocations: 4.062 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.3242, allocations: 8 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3242, allocations: 3.984 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.3243, allocations: 15.84 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3243, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 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 0.0001176/0.3244, allocations: 113.8 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.3245, allocations: 19.78 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.3246, allocations: 7.969 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3246, allocations: 3.984 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3246, allocations: 4 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3246, allocations: 0 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/0.3253, allocations: 474.8 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3253, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.3253, allocations: 4 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.3253, allocations: 4 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3254, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.3254, allocations: 8.062 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3254, allocations: 0 / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.3255, allocations: 77.83 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.109e-05/0.3256, allocations: 89.02 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.3257, allocations: 0 / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.3257, allocations: 0 / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.3258, allocations: 7.969 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3258, allocations: 7.984 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001342/0.3259, allocations: 118.1 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3259, allocations: 0 / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003688/0.3263, allocations: 4 kB / 1.057 GB, free: 3.875 MB / 0.8106 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.0005451/0.3269, allocations: 0.6209 MB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.327, allocations: 23.92 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.327, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.3271, allocations: 8 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3273, allocations: 4 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.3291, allocations: 1.342 MB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3295, allocations: 0.7002 MB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.946e-05/0.3295, allocations: 4.438 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.3296, allocations: 27.42 kB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of SimCode: time 6.01e-07/0.3296, allocations: 0 / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2019/0.5316, allocations: 1.467 MB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003935/0.5321, allocations: 225.2 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/3.38, allocations: 2.391 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches