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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007776/0.0007776, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008003/0.0008003, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9282/0.9282, allocations: 177.1 MB / 202.7 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.784/1.784, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.707e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001767/0.001794, allocations: 0.7932 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001305/0.001924, allocations: 39.78 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.001985, allocations: 7.938 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.002029, allocations: 7.875 kB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.551e-05/0.002125, allocations: 11.86 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.117e-05/0.002176, allocations: 19.98 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.002299, allocations: 63.78 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.002461, allocations: 27.97 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.002566, allocations: 39.91 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.149e-05/0.002618, allocations: 23.89 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.002645, allocations: 4 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.002656, allocations: 8 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.002677, allocations: 11.94 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.002716, allocations: 19.92 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.002865, allocations: 75.7 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.00287, allocations: 0 / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.623e-06/0.002871, allocations: 0 / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.002879, allocations: 0 / 1.001 GB, free: 12.36 MB / 0.9636 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.0005473/0.003426, allocations: 313.9 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.975e-05/0.003496, allocations: 8.75 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.003547, allocations: 38.75 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.003586, allocations: 8.891 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.003823, allocations: 137.6 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.003837, allocations: 4.375 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.003853, allocations: 8.375 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.004032, allocations: 97.67 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.004047, allocations: 4.172 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.004061, allocations: 8.375 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.004071, allocations: 8.125 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.004149, allocations: 35.92 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.004799, allocations: 395.8 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.514e-05/0.004884, allocations: 37.25 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.004928, allocations: 17.78 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.004938, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.00497, allocations: 34.56 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.004972, allocations: 0 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002068/0.005179, allocations: 57.58 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.005228, allocations: 81.05 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.005379, allocations: 161.6 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.005393, allocations: 29.7 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.005469, allocations: 104 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.005479, allocations: 11.89 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.005515, allocations: 13.72 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.005626, allocations: 322.8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.005644, allocations: 4 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.005667, allocations: 17.97 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.819e-05/0.005715, allocations: 37.66 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.005719, allocations: 0 / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.924e-05/0.005798, allocations: 57.58 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.005814, allocations: 8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.00582, allocations: 3.938 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.005833, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.0059, allocations: 11.94 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.005905, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.005925, allocations: 15.95 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.00593, allocations: 4 kB / 1.003 GB, free: 10.07 MB / 0.9636 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.135e-05/0.006001, allocations: 117.8 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.006027, allocations: 7.953 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.006053, allocations: 3.812 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.006058, allocations: 4 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.006065, allocations: 3.938 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006069, allocations: 0 / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.006372, allocations: 437.9 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.006375, allocations: 8.047 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.006393, allocations: 7.938 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006395, allocations: 0 / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.006402, allocations: 4 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006404, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006405, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.773e-05/0.006463, allocations: 74.67 kB / 1.003 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.006486, allocations: 19.83 kB / 1.003 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.006498, allocations: 4 kB / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-06/0.006508, allocations: 0 / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.006519, allocations: 0 / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.006522, allocations: 8.031 kB / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.006584, allocations: 121.5 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006584, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001276/0.006711, allocations: 8 kB / 1.004 GB, free: 9.172 MB / 0.9636 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.0002879/0.006999, allocations: 0.6093 MB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.007095, allocations: 19.98 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.007098, allocations: 0 / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.396e-06/0.007106, allocations: 16.09 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.007243, allocations: 11.94 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009841/0.008227, allocations: 1.334 MB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.943e-05/0.008276, allocations: 75.33 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.588e-05/0.008312, allocations: 20.53 kB / 1.006 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.008361, allocations: 28.48 kB / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of SimCode: time 8.62e-07/0.008362, allocations: 0 / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.02471, allocations: 2.227 MB / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/6.739, allocations: 10.31 kB / 1.008 GB, free: 4.797 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.956191868521273]