Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",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.005358/0.005358, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001221/0.001221, allocations: 186.4 kB / 16.67 MB, free: 5.926 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 64.12 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2872, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002141/0.2894, allocations: 0.8293 MB / 1.242 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.2895, allocations: 47.78 kB / 1.242 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.2896, allocations: 0 / 1.242 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.2896, allocations: 11.86 kB / 1.242 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.51e-05/0.2897, allocations: 7.938 kB / 1.242 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.477e-05/0.2897, allocations: 11.98 kB / 1.242 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2899, allocations: 67.78 kB / 1.242 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.29, allocations: 43.95 kB / 1.242 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.2901, allocations: 23.88 kB / 1.242 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.2901, allocations: 27.84 kB / 1.243 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.2902, allocations: 8 kB / 1.243 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.2902, allocations: 8 kB / 1.243 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.2902, allocations: 15.92 kB / 1.243 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.2903, allocations: 39.67 kB / 1.243 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.2904, allocations: 67.66 kB / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2904, allocations: 4 kB / 1.243 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2904, allocations: 0 / 1.243 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2904, allocations: 0 / 1.243 GB, free: 9.031 MB / 0.9981 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.0004603/0.2909, allocations: 383.1 kB / 1.243 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2909, allocations: 12.03 kB / 1.243 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.291, allocations: 34.75 kB / 1.243 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.291, allocations: 12.84 kB / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.2912, allocations: 200.2 kB / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.2913, allocations: 8.375 kB / 1.243 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.2913, allocations: 12.38 kB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2914, allocations: 83.95 kB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2915, allocations: 11.92 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2915, allocations: 7.938 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2915, allocations: 0 / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.984e-05/0.2916, allocations: 39.92 kB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.2921, allocations: 436.6 kB / 1.244 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.2922, allocations: 37.28 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.2923, allocations: 21.84 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.2923, allocations: 0 / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2923, allocations: 34.56 kB / 1.244 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2923, allocations: 0 / 1.244 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001618/0.2925, allocations: 61.52 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.2925, allocations: 85.05 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2927, allocations: 161.4 kB / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2927, allocations: 25.7 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.2928, allocations: 104.3 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.2928, allocations: 7.953 kB / 1.244 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.2929, allocations: 17.72 kB / 1.244 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.293, allocations: 318.8 kB / 1.245 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.2931, allocations: 11.94 kB / 1.245 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.2931, allocations: 17.72 kB / 1.245 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.622e-05/0.2931, allocations: 25.72 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2931, allocations: 0 / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.712e-05/0.2933, allocations: 61.53 kB / 1.245 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2933, allocations: 13.5 kB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2933, allocations: 0 / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2933, allocations: 0 / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.2934, allocations: 8 kB / 1.245 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2934, allocations: 4 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.2934, allocations: 3.938 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.2934, allocations: 7.984 kB / 1.245 GB, free: 6.539 MB / 0.9981 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.0001318/0.2936, allocations: 122.4 kB / 1.245 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.2936, allocations: 15.89 kB / 1.245 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.2937, allocations: 3.875 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2937, allocations: 0 / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2937, allocations: 4 kB / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2937, allocations: 0 / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.2943, allocations: 482.7 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2943, allocations: 3.984 kB / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.2943, allocations: 4 kB / 1.245 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2944, allocations: 0 / 1.245 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.2944, allocations: 0 / 1.245 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2944, allocations: 3.938 kB / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2944, allocations: 0 / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.2945, allocations: 85.95 kB / 1.246 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.2946, allocations: 85.05 kB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.2946, allocations: 4 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.2946, allocations: 3.938 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.2946, allocations: 0 / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.2947, allocations: 0 / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001152/0.2948, allocations: 119.2 kB / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2948, allocations: 0 / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002095/0.295, allocations: 12 kB / 1.246 GB, free: 5.492 MB / 0.9981 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.0006606/0.2957, allocations: 0.6133 MB / 1.246 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.2959, allocations: 19.92 kB / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2959, allocations: 4.094 kB / 1.246 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.2959, allocations: 16 kB / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.2961, allocations: 4 kB / 1.246 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.2976, allocations: 1.33 MB / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.2979, allocations: 0.6963 MB / 1.248 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.298, allocations: 12.5 kB / 1.248 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.298, allocations: 23.44 kB / 1.248 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.2981, allocations: 0 / 1.248 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.3208, allocations: 1.58 MB / 1.25 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.968, allocations: 4.562 kB / 1.25 GB, free: 1.141 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches