Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.004587/0.004587, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.001167/0.001167, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.564/2.564, allocations: 482.6 MB / 0.755 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 69.88 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2811, allocations: 162.3 MB / 1.242 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001777/0.2829, allocations: 0.8257 MB / 1.243 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 8.72e-05/0.283, allocations: 51.72 kB / 1.243 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.2831, allocations: 4 kB / 1.243 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.2831, allocations: 7.875 kB / 1.243 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.2832, allocations: 11.91 kB / 1.243 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.159e-05/0.2832, allocations: 15.98 kB / 1.243 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.2833, allocations: 63.84 kB / 1.243 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.2834, allocations: 43.91 kB / 1.243 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.2834, allocations: 23.92 kB / 1.243 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/0.2835, allocations: 27.8 kB / 1.243 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2835, allocations: 12 kB / 1.243 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-06/0.2835, allocations: 4 kB / 1.243 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.2835, allocations: 19.92 kB / 1.243 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.2836, allocations: 31.73 kB / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.176e-05/0.2837, allocations: 79.86 kB / 1.243 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.2837, allocations: 0 / 1.243 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2837, allocations: 0 / 1.243 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.2837, allocations: 0 / 1.243 GB, free: 7.699 MB / 0.9669 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.0003285/0.284, allocations: 379.1 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.2841, allocations: 16.02 kB / 1.243 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.2841, allocations: 38.75 kB / 1.243 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.958e-05/0.2841, allocations: 8.891 kB / 1.243 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.2843, allocations: 204.1 kB / 1.244 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.2843, allocations: 4.375 kB / 1.244 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.2843, allocations: 8.375 kB / 1.244 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.2845, allocations: 83.95 kB / 1.244 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2845, allocations: 3.938 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2845, allocations: 8 kB / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-06/0.2845, allocations: 7.938 kB / 1.244 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.543e-05/0.2846, allocations: 35.98 kB / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.285, allocations: 436.6 kB / 1.244 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.608e-05/0.2851, allocations: 41.27 kB / 1.244 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.2851, allocations: 21.84 kB / 1.244 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-06/0.2851, allocations: 4 kB / 1.244 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2851, allocations: 34.5 kB / 1.244 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2851, allocations: 3.938 kB / 1.244 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001167/0.2853, allocations: 53.59 kB / 1.244 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.2853, allocations: 93.28 kB / 1.244 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.2855, allocations: 148.3 kB / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.2855, allocations: 29.7 kB / 1.245 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.2855, allocations: 104.1 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.635e-06/0.2855, allocations: 7.891 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.2856, allocations: 21.7 kB / 1.245 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2857, allocations: 314.8 kB / 1.245 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.2857, allocations: 7.984 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.2858, allocations: 29.72 kB / 1.245 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.2858, allocations: 21.72 kB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2858, allocations: 0 / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.206e-05/0.2859, allocations: 61.58 kB / 1.245 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2859, allocations: 11.94 kB / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.2859, allocations: 0 / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/0.2859, allocations: 4.062 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.05e-05/0.286, allocations: 4 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.286, allocations: 4 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.286, allocations: 3.953 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-06/0.286, allocations: 3.938 kB / 1.245 GB, free: 5.211 MB / 0.9669 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.555e-05/0.2861, allocations: 117.8 kB / 1.245 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.2861, allocations: 15.88 kB / 1.245 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.764e-05/0.2862, allocations: 11.88 kB / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2862, allocations: 0 / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.2862, allocations: 4 kB / 1.245 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-06/0.2862, allocations: 4 kB / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.2866, allocations: 470.7 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2866, allocations: 0 / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.2866, allocations: 0 / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2866, allocations: 4 kB / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-06/0.2866, allocations: 0 / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2866, allocations: 8.047 kB / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2866, allocations: 0 / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.294e-05/0.2867, allocations: 77.89 kB / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.2868, allocations: 93.08 kB / 1.246 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.2868, allocations: 0 / 1.246 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.2868, allocations: 7.984 kB / 1.246 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.2868, allocations: 4.031 kB / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.2868, allocations: 0 / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.2869, allocations: 125.7 kB / 1.246 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2869, allocations: 3.938 kB / 1.246 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001711/0.2871, allocations: 11.94 kB / 1.246 GB, free: 4.16 MB / 0.9669 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.0003515/0.2875, allocations: 0.6177 MB / 1.247 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.531e-05/0.2875, allocations: 15.94 kB / 1.247 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.2875, allocations: 0 / 1.247 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.2876, allocations: 7.984 kB / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.2877, allocations: 9.562 kB / 1.247 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.2888, allocations: 1.331 MB / 1.248 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.2891, allocations: 0.6924 MB / 1.249 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.2891, allocations: 8.422 kB / 1.249 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.2891, allocations: 27.38 kB / 1.249 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.2891, allocations: 4 kB / 1.249 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.193/1.482, allocations: 1.572 MB / 1.25 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/14.54, allocations: 5.312 kB / 1.25 GB, free: 15.82 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches