Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.513/2.513, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 71.89 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7441, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001791/0.7459, allocations: 0.8405 MB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.885e-05/0.746, allocations: 40.59 kB / 1.272 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.7461, allocations: 1.531 kB / 1.272 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.7461, allocations: 10.47 kB / 1.272 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.012e-05/0.7462, allocations: 17.53 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.163e-05/0.7462, allocations: 17 kB / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.924e-05/0.7463, allocations: 71.62 kB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.7464, allocations: 35.22 kB / 1.272 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.7465, allocations: 26.03 kB / 1.272 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.7465, allocations: 26.8 kB / 1.272 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.7465, allocations: 6.094 kB / 1.272 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.7466, allocations: 5.844 kB / 1.272 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.7466, allocations: 16.69 kB / 1.272 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.7466, allocations: 28.23 kB / 1.272 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.7467, allocations: 85.39 kB / 1.273 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.7467, allocations: 4.812 kB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7467, allocations: 0 / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7467, allocations: 0 / 1.273 GB, free: 6.93 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.0003019/0.747, allocations: 376.5 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.747, allocations: 10.78 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.7471, allocations: 38.64 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.7471, allocations: 13.47 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.7472, allocations: 201.2 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.7473, allocations: 7.031 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.7473, allocations: 9.906 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.7474, allocations: 87.91 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.7474, allocations: 4.531 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.7474, allocations: 4.75 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7474, allocations: 2.156 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.959e-05/0.7475, allocations: 40.41 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.7479, allocations: 441.7 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.955e-05/0.7479, allocations: 38.06 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.7479, allocations: 19.77 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.748, allocations: 5.641 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.748, allocations: 32.16 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.748, allocations: 0 / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001442/0.7481, allocations: 61.47 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.7481, allocations: 77.11 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.7483, allocations: 155.1 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.7483, allocations: 26.77 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.7483, allocations: 112.1 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.7483, allocations: 5.484 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.7483, allocations: 17.8 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.7484, allocations: 319.9 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.7484, allocations: 8.531 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.7484, allocations: 23.73 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.7484, allocations: 28.28 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7485, allocations: 3.938 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.977e-05/0.7485, allocations: 61.27 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.7485, allocations: 9.438 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7485, allocations: 0 / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7486, allocations: 2.703 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.437e-05/0.7486, allocations: 5.406 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.7486, allocations: 0.9062 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.7486, allocations: 6.906 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.7486, allocations: 4.812 kB / 1.275 GB, free: 4.805 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 4.318e-05/0.7487, allocations: 115 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.7487, allocations: 19.78 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.7487, allocations: 12.86 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7487, allocations: 0.9062 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7488, allocations: 0.6562 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7488, allocations: 0.875 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.749, allocations: 470.5 kB / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.749, allocations: 3.406 kB / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.749, allocations: 6.875 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.749, allocations: 1.25 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.749, allocations: 0 / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.749, allocations: 0.875 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.749, allocations: 1.25 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.617e-05/0.7491, allocations: 83.77 kB / 1.275 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.7491, allocations: 88.58 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.7491, allocations: 4.859 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.7491, allocations: 0.9688 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-06/0.7492, allocations: 0.875 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.7492, allocations: 0.8438 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.8e-05/0.7492, allocations: 124.8 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7492, allocations: 4.031 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000175/0.7494, allocations: 11.41 kB / 1.276 GB, free: 3.883 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.0001959/0.7496, allocations: 0.6133 MB / 1.276 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.194e-05/0.7497, allocations: 24.27 kB / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7497, allocations: 0 / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.197e-06/0.7497, allocations: 3.938 kB / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.7498, allocations: 11.78 kB / 1.276 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008597/0.7507, allocations: 1.339 MB / 1.278 GB, free: 18.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.751, allocations: 0.696 MB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.751, allocations: 7.594 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.751, allocations: 27.61 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.751, allocations: 1.031 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.7742, allocations: 1.562 MB / 1.28 GB, free: 16.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/7.817, allocations: 13.61 kB / 1.28 GB, free: 16.92 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 13.214871078002034]